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

Function channel_fail_permanent

lightningd/channel.c:1165–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163}
1164
1165void channel_fail_permanent(struct channel *channel,
1166 enum state_change reason,
1167 const char *fmt,
1168 ...)
1169{
1170 va_list ap;
1171 char *why;
1172
1173 va_start(ap, fmt);
1174 why = tal_vfmt(tmpctx, fmt, ap);
1175 va_end(ap);
1176
1177 channel_fail_perm(channel, reason, why, NULL);
1178}
1179
1180void channel_fail_saw_onchain(struct channel *channel,
1181 enum state_change reason,

Callers 15

dual_funding_foundFunction · 0.70
dualopen_errmsgFunction · 0.70
channel_internal_errorFunction · 0.70
channel_errFunction · 0.70
channel_errmsgFunction · 0.70
handle_peer_spokeFunction · 0.70
json_dev_failFunction · 0.70
close_command_timeoutFunction · 0.70
peer_start_closingdFunction · 0.70

Calls 1

channel_fail_permFunction · 0.85

Tested by

no test coverage detected