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

Function json_to_channel_id

common/json_parse.c:623–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623bool json_to_channel_id(const char *buffer, const jsmntok_t *tok,
624 struct channel_id *cid)
625{
626 return hex_decode(buffer + tok->start, tok->end - tok->start,
627 cid, sizeof(*cid));
628}
629
630bool json_to_coin_mvt_tag(const char *buffer, const jsmntok_t *tok,
631 enum mvt_tag *tag)

Callers 4

param_channel_idFunction · 0.70
json_to_spliceFunction · 0.70
fundchannel_complete_okFunction · 0.50

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected