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

Function json_tok_channel_id

common/json_parse.c:670–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668}
669
670bool
671json_tok_channel_id(const char *buffer, const jsmntok_t *tok,
672 struct channel_id *cid)
673{
674 return hex_decode(buffer + tok->start, tok->end - tok->start,
675 cid, sizeof(*cid));
676}
677
678void json_dup_contents(const tal_t *ctx,
679 const char *buffer,

Callers 2

command_find_channelFunction · 0.85
param_channelFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected