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

Function hsm_ecdh_failed

lightningd/lightningd.c:952–956  ·  view source on GitHub ↗

~ We need this function style to hand to ecdh_hsmd_setup, but it's just a thin * wrapper around fatal() */

Source from the content-addressed store, hash-verified

950/*~ We need this function style to hand to ecdh_hsmd_setup, but it's just a thin
951 * wrapper around fatal() */
952static void hsm_ecdh_failed(enum status_failreason fail,
953 const char *fmt, ...)
954{
955 fatal("hsm failure: %s", fmt);
956}
957
958/*~ This signals to the mainloop that some part wants to cleanly exit now. */
959void lightningd_exit(struct lightningd *ld, int exit_code)

Callers

nothing calls this directly

Calls 1

fatalFunction · 0.70

Tested by

no test coverage detected