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

Function json_add_sats

common/json_stream.c:617–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617void json_add_sats(struct json_stream *result,
618 const char *fieldname,
619 struct amount_sat sat)
620{
621 json_add_string(result, fieldname, take(fmt_amount_sat(NULL, sat)));
622}
623
624void json_add_secret(struct json_stream *response, const char *fieldname,
625 const struct secret *secret)

Callers 2

txprepare_continueFunction · 0.85
process_getutxoutFunction · 0.85

Calls 2

fmt_amount_satFunction · 0.85
json_add_stringFunction · 0.70

Tested by

no test coverage detected