| 40 | } |
| 41 | |
| 42 | static const char *report_fmt_credit(const tal_t *ctx, |
| 43 | const struct bkpr *bkpr UNNEEDED, |
| 44 | const struct income_event *e) |
| 45 | { |
| 46 | if (amount_msat_is_zero(e->credit)) |
| 47 | return ZERO_AMOUNT; |
| 48 | return fmt_amount_msat_btc(ctx, e->credit, false); |
| 49 | } |
| 50 | |
| 51 | static const char *report_fmt_debit(const tal_t *ctx, |
| 52 | const struct bkpr *bkpr UNNEEDED, |
nothing calls this directly
no test coverage detected