We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c438c93 commit 2d922f5Copy full SHA for 2d922f5
src/wallet/wallet.cpp
@@ -4417,7 +4417,7 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
4417
assert(m_max_keypool_index < std::numeric_limits<int64_t>::max()); // How in the hell did you use so many keys?
4418
int64_t index = ++m_max_keypool_index;
4419
4420
- CPubKey pubkey(GenerateNewKey(walletdb, fInternal));
+ CPubKey pubkey(GenerateNewKey(walletdb, 0, fInternal));
4421
if (!walletdb.WritePool(index, CKeyPool(pubkey, fInternal))) {
4422
throw std::runtime_error(std::string(__func__) + ": writing generated key failed");
4423
}
0 commit comments