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

Function json_add_node_id

common/json_stream.c:394–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void json_add_node_id(struct json_stream *response,
395 const char *fieldname,
396 const struct node_id *id)
397{
398 json_add_hex(response, fieldname, id->k, sizeof(id->k));
399}
400
401void json_add_channel_id(struct json_stream *response,
402 const char *fieldname,

Callers 1

json_add_bolt11Function · 0.70

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected