Browse Source

Remove unused parameter master in load_hsm(struct daemon_conn *master)

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
7f8ae7e0bf
  1. 4
      hsmd/hsm.c

4
hsmd/hsm.c

@ -504,7 +504,7 @@ static void create_new_hsm(void)
populate_secretstuff();
}
static void load_hsm(struct daemon_conn *master)
static void load_hsm(void)
{
int fd = open("hsm_secret", O_RDONLY);
if (fd < 0)
@ -528,7 +528,7 @@ static void init_hsm(struct daemon_conn *master, const u8 *msg)
if (new)
create_new_hsm();
else
load_hsm(master);
load_hsm();
send_init_response(master);
}

Loading…
Cancel
Save