| 213 | } |
| 214 | |
| 215 | static struct income_event *paid_invoice_fee(const tal_t *ctx, |
| 216 | struct channel_event *ev) |
| 217 | { |
| 218 | struct income_event *iev; |
| 219 | iev = channel_to_income(ctx, ev, AMOUNT_MSAT(0), ev->fees); |
| 220 | iev->tag = tal_free(ev->tag); |
| 221 | iev->tag = (char *)account_entry_tag_str(INVOICEFEE); |
| 222 | return iev; |
| 223 | } |
| 224 | |
| 225 | static struct income_event *rebalance_fee(const tal_t *ctx, |
| 226 | struct channel_event *ev) |
no test coverage detected