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

Function handle_failure_fatal

openingd/dualopend.c:458–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458static void handle_failure_fatal(struct state *state, u8 *msg)
459{
460 char *err;
461
462 if (!fromwire_dualopend_fail(msg, msg, &err))
463 master_badmsg(fromwire_peektype(msg), msg);
464
465 /* We're gonna fail here */
466 open_err_fatal(state, "%s", err);
467}
468
469static void check_channel_id(struct state *state,
470 struct channel_id *id_in,

Callers 1

handle_master_inFunction · 0.85

Calls 3

open_err_fatalFunction · 0.85
master_badmsgFunction · 0.50
fromwire_peektypeFunction · 0.50

Tested by

no test coverage detected