~ We need this function style to hand to ecdh_hsmd_setup, but it's just a thin * wrapper around fatal() */
| 950 | /*~ We need this function style to hand to ecdh_hsmd_setup, but it's just a thin |
| 951 | * wrapper around fatal() */ |
| 952 | static 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. */ |
| 959 | void lightningd_exit(struct lightningd *ld, int exit_code) |