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

Function open_err_fatal

openingd/dualopend.c:398–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398static void open_err_fatal(struct state *state,
399 const char *fmt, ...)
400{
401 va_list ap;
402 const char *errmsg;
403
404 va_start(ap, fmt);
405 errmsg = tal_vfmt(tmpctx, fmt, ap);
406 va_end(ap);
407
408 status_debug("aborted open negotiation, fatal: %s", errmsg);
409 peer_failed_err(state->pps, &state->channel_id, "%s", errmsg);
410}
411
412
413/*~ For negotiation failures: we tell them the parameter we didn't like. */

Callers 15

handle_peer_shutdownFunction · 0.85
handle_failure_fatalFunction · 0.85
check_channel_idFunction · 0.85
handle_commit_signedFunction · 0.85
handle_tx_sigsFunction · 0.85
handle_tx_abortFunction · 0.85
handle_channel_readyFunction · 0.85
run_tx_interactiveFunction · 0.85
accepter_startFunction · 0.85
opener_startFunction · 0.85
rbf_remote_startFunction · 0.85

Calls 1

peer_failed_errFunction · 0.50

Tested by

no test coverage detected