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

Function uncommitted_channel_disconnect

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

Source from the content-addressed store, hash-verified

118
119
120void uncommitted_channel_disconnect(struct uncommitted_channel *uc,
121 enum log_level level,
122 const char *desc)
123{
124 log_(uc->log, level, NULL, false, "%s", desc);
125 if (uc->fc && uc->fc->cmd)
126 was_pending(command_fail(uc->fc->cmd, LIGHTNINGD, "%s", desc));
127}
128
129
130void 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

was_pendingFunction · 0.85
log_Function · 0.70
command_failFunction · 0.70

Tested by

no test coverage detected