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

Function json_to_short_channel_id

common/json_parse.c:568–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568bool json_to_short_channel_id(const char *buffer, const jsmntok_t *tok,
569 struct short_channel_id *scid)
570{
571 return (short_channel_id_from_str(buffer + tok->start,
572 tok->end - tok->start, scid));
573}
574
575bool json_to_txid(const char *buffer, const jsmntok_t *tok,
576 struct bitcoin_txid *txid)

Callers 2

param_short_channel_idFunction · 0.70
get_scid_arrayFunction · 0.50

Calls 1

Tested by 1

get_scid_arrayFunction · 0.40