| 604 | REGISTER_NOTIFICATION(channel_open_failed); |
| 605 | |
| 606 | void notify_channel_open_failed(struct lightningd *ld, |
| 607 | const struct channel_id *cid) |
| 608 | { |
| 609 | struct jsonrpc_notification *n = notify_start(ld, "channel_open_failed"); |
| 610 | if (!n) |
| 611 | return; |
| 612 | channel_open_failed_serialize(n->stream, cid); |
| 613 | notify_send(ld, n); |
| 614 | } |
| 615 | |
| 616 | REGISTER_NOTIFICATION(shutdown); |
| 617 |
no test coverage detected