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

Function uncommitted_channel_disconnect

lightningd/opening_common.c:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109
110void uncommitted_channel_disconnect(struct uncommitted_channel *uc,
111 enum log_level level,
112 const char *desc)
113{
114 log_(uc->log, level, NULL, false, "%s", desc);
115 if (uc->fc && uc->fc->cmd)
116 was_pending(command_fail(uc->fc->cmd, LIGHTNINGD, "%s", desc));
117}
118
119
120void kill_uncommitted_channel(struct uncommitted_channel *uc,

Callers 4

opend_channel_errmsgFunction · 0.85
kill_uncommitted_channelFunction · 0.85
opening_fundee_finishedFunction · 0.85
peer_start_openingdFunction · 0.85

Calls 3

log_Function · 0.70
was_pendingFunction · 0.70
command_failFunction · 0.70

Tested by

no test coverage detected