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

Function json_to_pubkey

common/json_parse.c:543–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543bool json_to_pubkey(const char *buffer, const jsmntok_t *tok,
544 struct pubkey *pubkey)
545{
546 return pubkey_from_hexstr(buffer + tok->start,
547 tok->end - tok->start, pubkey);
548}
549
550bool json_to_msat(const char *buffer, const jsmntok_t *tok,
551 struct amount_msat *msat)

Callers 9

param_hops_arrayFunction · 0.70
param_pubkeyFunction · 0.70
listpeerchannels_doneFunction · 0.50
param_dev_reply_pathFunction · 0.50
param_pathsFunction · 0.50
param_pubkey_arrFunction · 0.50
json_to_pubkeysFunction · 0.50
runtestFunction · 0.50

Calls 1

pubkey_from_hexstrFunction · 0.85

Tested by

no test coverage detected