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

Function json_add_deprecated

plugins/libplugin.c:1245–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245static void json_add_deprecated(struct json_stream *js,
1246 const char *fieldname,
1247 const char *depr_start, const char *depr_end)
1248{
1249 if (!depr_start)
1250 return;
1251 json_array_start(js, fieldname);
1252 json_add_string(js, NULL, depr_start);
1253 if (depr_end)
1254 json_add_string(js, NULL, depr_end);
1255 json_array_end(js);
1256}
1257
1258static struct command_result *
1259handle_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