MCPcopy Create free account
hub / github.com/ElementsProject/lightning / notify_channel_open_failed

Function notify_channel_open_failed

lightningd/notification.c:606–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604REGISTER_NOTIFICATION(channel_open_failed);
605
606void 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
616REGISTER_NOTIFICATION(shutdown);
617

Callers 3

handle_commit_readyFunction · 0.70
handle_commit_receivedFunction · 0.70
channel_cleanup_commandsFunction · 0.70

Calls 3

notify_startFunction · 0.85
notify_sendFunction · 0.85

Tested by

no test coverage detected