mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
wallet: remove unused CHDChain keypool index members
`m_next_external_index` and `m_next_internal_index` are declared and
initialized and never read or written afterwards. Their last uses were
removed in 83af1a3cca ("wallet: Delete LegacySPKM"). Neither appears in
`SERIALIZE_METHODS` or in `SetNull`.
This commit is contained in:
@@ -99,8 +99,6 @@ public:
|
||||
uint32_t nExternalChainCounter;
|
||||
uint32_t nInternalChainCounter;
|
||||
CKeyID seed_id; //!< seed hash160
|
||||
int64_t m_next_external_index{0}; // Next index in the keypool to be used. Memory only.
|
||||
int64_t m_next_internal_index{0}; // Next index in the keypool to be used. Memory only.
|
||||
|
||||
static constexpr int VERSION_HD_BASE{1};
|
||||
static constexpr int VERSION_HD_CHAIN_SPLIT{2};
|
||||
|
||||
Reference in New Issue
Block a user