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

Function json_add_channel_id

common/json_stream.c:401–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401void json_add_channel_id(struct json_stream *response,
402 const char *fieldname,
403 const struct channel_id *cid)
404{
405 json_add_hex(response, fieldname, cid->id, sizeof(cid->id));
406}
407
408void json_add_pubkey(struct json_stream *response,
409 const char *fieldname,

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected