libhsmd: Cleanup the bip32_key_version
This commit is contained in:
parent
4d43e84afd
commit
fb2b107bef
|
@ -46,11 +46,6 @@
|
||||||
* stream from lightningd. */
|
* stream from lightningd. */
|
||||||
#define REQ_FD 3
|
#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 DEVELOPER
|
||||||
/* If they specify --dev-force-privkey it ends up in here. */
|
/* If they specify --dev-force-privkey it ends up in here. */
|
||||||
extern struct privkey *dev_force_privkey;
|
extern struct privkey *dev_force_privkey;
|
||||||
|
@ -459,6 +454,7 @@ static struct io_plan *init_hsm(struct io_conn *conn,
|
||||||
struct secrets *secrets;
|
struct secrets *secrets;
|
||||||
struct sha256 *shaseed;
|
struct sha256 *shaseed;
|
||||||
struct secret *hsm_encryption_key;
|
struct secret *hsm_encryption_key;
|
||||||
|
struct bip32_key_version bip32_key_version;
|
||||||
|
|
||||||
/* This must be lightningd. */
|
/* This must be lightningd. */
|
||||||
assert(is_lightningd(c));
|
assert(is_lightningd(c));
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
#include <hsmd/libhsmd.h>
|
#include <hsmd/libhsmd.h>
|
||||||
#include <wire/peer_wire.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 DEVELOPER
|
||||||
/* If they specify --dev-force-privkey it ends up in here. */
|
/* If they specify --dev-force-privkey it ends up in here. */
|
||||||
struct privkey *dev_force_privkey;
|
struct privkey *dev_force_privkey;
|
||||||
|
|
Loading…
Reference in New Issue