| 207 | } |
| 208 | |
| 209 | static struct income_event *rebalance_fee(const tal_t *ctx, |
| 210 | const struct bkpr *bkpr, |
| 211 | struct channel_event *ev) |
| 212 | { |
| 213 | struct income_event *iev; |
| 214 | iev = channel_to_income(ctx, bkpr, ev, AMOUNT_MSAT(0), ev->fees); |
| 215 | iev->tag = tal_free(ev->tag); |
| 216 | iev->tag = (char *)account_entry_tag_str(REBALANCEFEE); |
| 217 | return iev; |
| 218 | } |
| 219 | |
| 220 | static struct income_event *maybe_channel_income(const tal_t *ctx, |
| 221 | const struct bkpr *bkpr, |
no test coverage detected