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

Function json_add_opt_alt_subdaemon

lightningd/options.c:1479–1487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1477};
1478
1479static bool json_add_opt_alt_subdaemon(const char *member,
1480 const char *value,
1481 struct json_add_opt_alt_subdaemon_args *argp)
1482{
1483 json_add_string(argp->response,
1484 argp->name0,
1485 tal_fmt(argp->name0, "%s:%s", member, value));
1486 return true;
1487}
1488
1489static void json_add_opt_subdaemons(struct json_stream *response,
1490 const char *name0,

Callers

nothing calls this directly

Calls 1

json_add_stringFunction · 0.50

Tested by

no test coverage detected