mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
hsmd: take dbid for client.
We need this later, to generate its seed. When we switch to lnd's key system, we'll only need this, and not peerid. Note also that the peerid is not just for messages any more, too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
64008e275a
commit
f9e5dc7ee8
@@ -211,7 +211,7 @@ void gossip_init(struct lightningd *ld)
|
||||
allow_localhost = true;
|
||||
#endif
|
||||
|
||||
msg = towire_hsm_client_hsmfd(tmpctx, &ld->id, capabilities);
|
||||
msg = towire_hsm_client_hsmfd(tmpctx, &ld->id, 0, capabilities);
|
||||
if (!wire_sync_write(ld->hsm_fd, msg))
|
||||
fatal("Could not write to HSM: %s", strerror(errno));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user