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

Function report_fmt_debit

plugins/bkpr/report.c:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static const char *report_fmt_debit(const tal_t *ctx,
52 const struct bkpr *bkpr UNNEEDED,
53 const struct income_event *e)
54{
55 if (amount_msat_is_zero(e->debit))
56 return ZERO_AMOUNT;
57 return fmt_amount_msat_btc(ctx, e->debit, false);
58}
59
60static const char *report_fmt_fees(const tal_t *ctx,
61 const struct bkpr *bkpr UNNEEDED,

Callers

nothing calls this directly

Calls 2

amount_msat_is_zeroFunction · 0.85
fmt_amount_msat_btcFunction · 0.85

Tested by

no test coverage detected