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

Class amount_msat

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

Source from the content-addressed store, hash-verified

620void json_add_amount_msat(struct json_stream *result,
621 const char *msatfieldname,
622 struct amount_msat msat)
623{
624 assert(strends(msatfieldname, "_msat") || streq(msatfieldname, "msat"));
625 json_add_u64(result, msatfieldname, msat.millisatoshis); /* Raw: low-level helper */

Callers 1

json_add_lease_ratesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected