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

Function kill_uncommitted_channel

lightningd/opening_common.c:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119
120void kill_uncommitted_channel(struct uncommitted_channel *uc,
121 const char *why)
122{
123 log_info(uc->log, "Killing opening daemon: %s", why);
124
125 uncommitted_channel_disconnect(uc, LOG_INFORM, why);
126 tal_free(uc);
127}
128
129void channel_config(struct lightningd *ld,
130 struct channel_config *ours,

Callers 3

peer_channels_cleanupFunction · 0.70
json_closeFunction · 0.70
force_peer_disconnectFunction · 0.70

Calls 3

log_infoClass · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected