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

Function channel_fail_permanent

lightningd/channel.c:1124–1137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122}
1123
1124void channel_fail_permanent(struct channel *channel,
1125 enum state_change reason,
1126 const char *fmt,
1127 ...)
1128{
1129 va_list ap;
1130 char *why;
1131
1132 va_start(ap, fmt);
1133 why = tal_vfmt(tmpctx, fmt, ap);
1134 va_end(ap);
1135
1136 channel_fail_perm(channel, reason, why, NULL);
1137}
1138
1139void channel_fail_saw_onchain(struct channel *channel,
1140 enum state_change reason,

Callers 15

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
peer_got_revokeFunction · 0.70

Calls 1

channel_fail_permFunction · 0.85

Tested by

no test coverage detected