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

Function json_add_channel_id

common/json_stream.c:427–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void json_add_channel_id(struct json_stream *response,
428 const char *fieldname,
429 const struct channel_id *cid)
430{
431 json_add_hex(response, fieldname, cid->id, sizeof(cid->id));
432}
433
434void json_add_pubkey(struct json_stream *response,
435 const char *fieldname,

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected