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

Function json_to_msat

common/json_parse.c:545–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545bool json_to_msat(const char *buffer, const jsmntok_t *tok,
546 struct amount_msat *msat)
547{
548 return parse_amount_msat(msat,
549 buffer + tok->start, tok->end - tok->start);
550}
551
552bool json_to_sat(const char *buffer, const jsmntok_t *tok,
553 struct amount_sat *sat)

Callers

nothing calls this directly

Calls 1

parse_amount_msatFunction · 0.70

Tested by

no test coverage detected