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

Function handle_failure_fatal

openingd/dualopend.c:544–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544static void handle_failure_fatal(struct state *state, u8 *msg)
545{
546 char *err;
547
548 if (!fromwire_dualopend_fail(msg, msg, &err))
549 master_badmsg(fromwire_peektype(msg), msg);
550
551 /* We're gonna fail here */
552 open_err_fatal(state, "%s", err);
553}
554
555static void check_channel_id(struct state *state,
556 struct channel_id *id_in,

Callers 1

handle_master_inFunction · 0.85

Calls 3

fromwire_peektypeFunction · 0.85
open_err_fatalFunction · 0.85
master_badmsgFunction · 0.50

Tested by

no test coverage detected