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:
jeanpablo
2026-08-30 15:39:01 +01:00
parent 4afc7bc40d
commit f64b3fa70f

View File

@@ -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};