mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
hsm: remove unique_id.
It was only for error messages, so replace it with pubkey. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c3bed51b2d
commit
ffaa15c7da
@@ -2021,7 +2021,7 @@ static bool peer_start_channeld(struct peer *peer,
|
||||
} else
|
||||
assert(peer->our_msatoshi);
|
||||
|
||||
msg = towire_hsmctl_hsmfd_channeld(tmpctx, peer->unique_id);
|
||||
msg = towire_hsmctl_hsmfd_channeld(tmpctx, &peer->id);
|
||||
if (!wire_sync_write(peer->ld->hsm_fd, take(msg)))
|
||||
fatal("Could not write to HSM: %s", strerror(errno));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user