| 650 | channel_open_failed_serialize); |
| 651 | |
| 652 | void notify_channel_open_failed(struct lightningd *ld, |
| 653 | const struct channel_id *cid) |
| 654 | { |
| 655 | void (*serialize)(struct json_stream *, |
| 656 | const struct channel_id *) = channel_open_failed_notification_gen.serialize; |
| 657 | |
| 658 | struct jsonrpc_notification *n = |
| 659 | jsonrpc_notification_start(NULL, "channel_open_failed"); |
| 660 | serialize(n->stream, cid); |
| 661 | jsonrpc_notification_end(n); |
| 662 | plugins_notify(ld->plugins, take(n)); |
| 663 | } |
| 664 | |
| 665 | REGISTER_NOTIFICATION(shutdown, NULL); |
| 666 |
no test coverage detected