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