| 223 | } |
| 224 | |
| 225 | static struct income_event *rebalance_fee(const tal_t *ctx, |
| 226 | struct channel_event *ev) |
| 227 | { |
| 228 | struct income_event *iev; |
| 229 | iev = channel_to_income(ctx, ev, AMOUNT_MSAT(0), ev->fees); |
| 230 | iev->tag = tal_free(ev->tag); |
| 231 | iev->tag = (char *)account_entry_tag_str(REBALANCEFEE); |
| 232 | return iev; |
| 233 | } |
| 234 | |
| 235 | static struct income_event *maybe_channel_income(const tal_t *ctx, |
| 236 | struct channel_event *ev) |
no test coverage detected