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

Class amount_sat

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

Source from the content-addressed store, hash-verified

628void json_add_amount_sat(struct json_stream *result,
629 const char *satfieldname,
630 struct amount_sat sat)
631{
632 assert(strends(satfieldname, "_sat") || streq(satfieldname, "sat"));
633 json_add_u64(result, satfieldname, sat.satoshis); /* Raw: low-level helper */

Callers 1

json_add_lease_ratesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected