| 57 | } |
| 58 | |
| 59 | bool is_wrong_channel(const u8 *msg, const struct channel_id *expected, |
| 60 | struct channel_id *actual) |
| 61 | { |
| 62 | if (!expected) |
| 63 | return false; |
| 64 | |
| 65 | if (!extract_channel_id(msg, actual)) |
| 66 | return false; |
| 67 | |
| 68 | return !channel_id_eq(expected, actual); |
| 69 | } |
| 70 | |
| 71 | bool handle_peer_error(struct per_peer_state *pps, |
| 72 | const struct channel_id *channel_id, |
no test coverage detected