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

Function kill_uncommitted_channel

lightningd/opening_common.c:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129
130void kill_uncommitted_channel(struct uncommitted_channel *uc,
131 const char *why)
132{
133 log_info(uc->log, "Killing opening daemon: %s", why);
134
135 uncommitted_channel_disconnect(uc, LOG_INFORM, why);
136 tal_free(uc);
137}
138
139void channel_config(struct lightningd *ld,
140 struct channel_config *ours,

Callers 2

peer_channels_cleanupFunction · 0.70
json_closeFunction · 0.70

Calls 3

log_infoClass · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected