MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_add_deprecated

Function json_add_deprecated

plugins/libplugin.c:1235–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1233}
1234
1235static void json_add_deprecated(struct json_stream *js,
1236 const char *fieldname,
1237 const char *depr_start, const char *depr_end)
1238{
1239 if (!depr_start)
1240 return;
1241 json_array_start(js, fieldname);
1242 json_add_string(js, NULL, depr_start);
1243 if (depr_end)
1244 json_add_string(js, NULL, depr_end);
1245 json_array_end(js);
1246}
1247
1248static struct command_result *
1249handle_getmanifest(struct command *getmanifest_cmd,

Callers 1

handle_getmanifestFunction · 0.85

Calls 3

json_array_startFunction · 0.85
json_array_endFunction · 0.85
json_add_stringFunction · 0.50

Tested by

no test coverage detected