mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
Remove unused parameter master in create_new_hsm(struct daemon_conn *master)
This commit is contained in:
committed by
Christian Decker
parent
7be95cee94
commit
f5742b0928
@@ -466,7 +466,7 @@ static void bitcoin_keypair(struct privkey *privkey,
|
||||
"BIP32 pubkey %u create failed", index);
|
||||
}
|
||||
|
||||
static void create_new_hsm(struct daemon_conn *master)
|
||||
static void create_new_hsm(void)
|
||||
{
|
||||
int fd = open("hsm_secret", O_CREAT|O_EXCL|O_WRONLY, 0400);
|
||||
if (fd < 0)
|
||||
@@ -526,7 +526,7 @@ static void init_hsm(struct daemon_conn *master, const u8 *msg)
|
||||
master_badmsg(WIRE_HSM_INIT, msg);
|
||||
|
||||
if (new)
|
||||
create_new_hsm(master);
|
||||
create_new_hsm();
|
||||
else
|
||||
load_hsm(master);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user