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

Function open_err_fatal

openingd/dualopend.c:406–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406static void open_err_fatal(struct state *state,
407 const char *fmt, ...)
408{
409 va_list ap;
410 const char *errmsg;
411
412 va_start(ap, fmt);
413 errmsg = tal_vfmt(tmpctx, fmt, ap);
414 va_end(ap);
415
416 status_debug("aborted open negotiation, fatal: %s", errmsg);
417 peer_failed_err(state->pps, &state->channel_id, "%s", errmsg);
418}
419
420
421/*~ 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