| 193 | } |
| 194 | |
| 195 | static struct income_event *paid_invoice_fee(const tal_t *ctx, |
| 196 | const struct bkpr *bkpr, |
| 197 | struct channel_event *ev) |
| 198 | { |
| 199 | struct income_event *iev; |
| 200 | iev = channel_to_income(ctx, bkpr, ev, AMOUNT_MSAT(0), ev->fees); |
| 201 | iev->tag = tal_free(ev->tag); |
| 202 | iev->tag = (char *)account_entry_tag_str(INVOICEFEE); |
| 203 | return iev; |
| 204 | } |
| 205 | |
| 206 | static struct income_event *rebalance_fee(const tal_t *ctx, |
| 207 | const struct bkpr *bkpr, |
no test coverage detected