mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Remove unused parameter master in load_hsm(struct daemon_conn *master)
This commit is contained in:
parent
f5742b0928
commit
7f8ae7e0bf
@ -504,7 +504,7 @@ static void create_new_hsm(void)
|
|||||||
populate_secretstuff();
|
populate_secretstuff();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void load_hsm(struct daemon_conn *master)
|
static void load_hsm(void)
|
||||||
{
|
{
|
||||||
int fd = open("hsm_secret", O_RDONLY);
|
int fd = open("hsm_secret", O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
@ -528,7 +528,7 @@ static void init_hsm(struct daemon_conn *master, const u8 *msg)
|
|||||||
if (new)
|
if (new)
|
||||||
create_new_hsm();
|
create_new_hsm();
|
||||||
else
|
else
|
||||||
load_hsm(master);
|
load_hsm();
|
||||||
|
|
||||||
send_init_response(master);
|
send_init_response(master);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user