mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
libhsmd: Cleanup the bip32_key_version
This commit is contained in:
parent
4d43e84afd
commit
fb2b107bef
@ -46,11 +46,6 @@
|
||||
* stream from lightningd. */
|
||||
#define REQ_FD 3
|
||||
|
||||
/* Version codes for BIP32 extended keys in libwally-core.
|
||||
* It's not suitable to add this struct into client struct,
|
||||
* so set it static.*/
|
||||
extern struct bip32_key_version bip32_key_version;
|
||||
|
||||
#if DEVELOPER
|
||||
/* If they specify --dev-force-privkey it ends up in here. */
|
||||
extern struct privkey *dev_force_privkey;
|
||||
@ -459,6 +454,7 @@ static struct io_plan *init_hsm(struct io_conn *conn,
|
||||
struct secrets *secrets;
|
||||
struct sha256 *shaseed;
|
||||
struct secret *hsm_encryption_key;
|
||||
struct bip32_key_version bip32_key_version;
|
||||
|
||||
/* This must be lightningd. */
|
||||
assert(is_lightningd(c));
|
||||
|
@ -8,11 +8,6 @@
|
||||
#include <hsmd/libhsmd.h>
|
||||
#include <wire/peer_wire.h>
|
||||
|
||||
/* Version codes for BIP32 extended keys in libwally-core.
|
||||
* It's not suitable to add this struct into client struct,
|
||||
* so set it static.*/
|
||||
struct bip32_key_version bip32_key_version;
|
||||
|
||||
#if DEVELOPER
|
||||
/* If they specify --dev-force-privkey it ends up in here. */
|
||||
struct privkey *dev_force_privkey;
|
||||
|
Loading…
Reference in New Issue
Block a user