mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
lightningd: fix typo in fatal error.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b6a2b8c58b
commit
7d62de8632
@ -19,7 +19,7 @@ u8 *hsm_sync_read(const tal_t *ctx, struct lightningd *ld)
|
||||
for (;;) {
|
||||
u8 *msg = wire_sync_read(ctx, ld->hsm_fd);
|
||||
if (!msg)
|
||||
fatal("Could not write from HSM: %s", strerror(errno));
|
||||
fatal("Could not read from HSM: %s", strerror(errno));
|
||||
if (fromwire_peektype(msg) != STATUS_TRACE)
|
||||
return msg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user