Fatal error here, return peer control to lightningd */
| 13 | |
| 14 | /* Fatal error here, return peer control to lightningd */ |
| 15 | void NORETURN |
| 16 | peer_fatal_continue(const u8 *msg TAKES, const struct per_peer_state *pps) |
| 17 | { |
| 18 | int reason = fromwire_peektype(msg); |
| 19 | breakpoint(); |
| 20 | status_send(msg); |
| 21 | |
| 22 | status_send_fd(pps->peer_fd); |
| 23 | exit(0x80 | (reason & 0xFF)); |
| 24 | } |
| 25 | |
| 26 | /* We only support one channel per peer anyway */ |
| 27 | static void NORETURN |
no test coverage detected