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

Function fmt_amount_sat

common/amount.c:99–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99char *fmt_amount_sat(const tal_t *ctx, struct amount_sat sat)
100{
101 return tal_fmt(ctx, "%"PRIu64"sat", sat.satoshis);
102}
103
104static bool breakup(const char *str, size_t slen,
105 /* Length of first numeric part. */

Callers 15

initial_commit_txFunction · 0.70
fmt_channelFunction · 0.70
json_add_satsFunction · 0.70
dump_token_shallowFunction · 0.70
calculate_amountsFunction · 0.70
splice_to_stringFunction · 0.70
close_txFunction · 0.50
send_offerFunction · 0.50
receive_offerFunction · 0.50
init_feerangeFunction · 0.50
adjust_feerangeFunction · 0.50

Calls

no outgoing calls

Tested by 1

mainFunction · 0.40