mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
wallet: Always use the DB backed bip32_max_index
We were loading it on startup and updating as we went. Removing caching to reduce chances of becoming desynchronized.
This commit is contained in:
committed by
Rusty Russell
parent
257ecf6222
commit
7e0b9bd1ab
@@ -40,7 +40,6 @@ struct lightningd {
|
||||
|
||||
/* Public base for bip32 keys, and max we've ever used. */
|
||||
struct ext_key *bip32_base;
|
||||
u32 bip32_max_index;
|
||||
|
||||
/* Our bitcoind context. */
|
||||
struct bitcoind *bitcoind;
|
||||
|
||||
Reference in New Issue
Block a user