| 1430 | } |
| 1431 | |
| 1432 | static void handle_error_channel(struct channel *channel, |
| 1433 | const u8 *msg) |
| 1434 | { |
| 1435 | if (!fromwire_channeld_send_error_reply(msg)) { |
| 1436 | channel_internal_error(channel, "bad send_error_reply: %s", |
| 1437 | tal_hex(tmpctx, msg)); |
| 1438 | return; |
| 1439 | } |
| 1440 | |
| 1441 | forget(channel); |
| 1442 | } |
| 1443 | |
| 1444 | static void forget_channel(struct channel *channel, const char *why) |
| 1445 | { |
no test coverage detected