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

Function status_send_fatal

common/status.c:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void status_send_fatal(const u8 *msg TAKES)
187{
188 int reason = fromwire_peektype(msg);
189 breakpoint();
190 status_send(msg);
191
192 flush_and_exit(reason);
193}
194
195/* FIXME: rename to status_fatal, s/fail/fatal/ in status_failreason enums */
196void status_failed(enum status_failreason reason, const char *fmt, ...)

Callers 3

hsmd_status_failedFunction · 0.85
status_failedFunction · 0.85

Calls 4

fromwire_peektypeFunction · 0.85
breakpointFunction · 0.85
status_sendFunction · 0.85
flush_and_exitFunction · 0.85

Tested by

no test coverage detected