| 143 | } |
| 144 | |
| 145 | static bool fail_htlc(struct channel *channel, enum side original_sender, u64 id) |
| 146 | { |
| 147 | if (channel_fail_htlc(channel, original_sender, id, NULL) |
| 148 | != CHANNEL_ERR_REMOVE_OK) |
| 149 | return false; |
| 150 | return true; |
| 151 | } |
| 152 | |
| 153 | static void init_channels(const tal_t *ctx, const u8 **cursor, size_t *max, |
| 154 | struct pubkey *local_per_commitment_point, |
no test coverage detected