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

Function json_to_sat

common/json_parse.c:557–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557bool json_to_sat(const char *buffer, const jsmntok_t *tok,
558 struct amount_sat *sat)
559{
560 return parse_amount_sat(sat, buffer + tok->start, tok->end - tok->start);
561}
562
563bool json_to_sat_or_all(const char *buffer, const jsmntok_t *tok,
564 struct amount_sat *sat)

Callers 3

json_to_sat_or_allFunction · 0.85

Calls 1

parse_amount_satFunction · 0.70

Tested by

no test coverage detected