internal -> fInternal

Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
Pasta 2019-09-16 14:03:09 -05:00
parent b8c1d66fb9
commit 11e41b90c9

View File

@ -4337,7 +4337,7 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
assert(m_max_keypool_index < std::numeric_limits<int64_t>::max()); // How in the hell did you use so many keys?
int64_t index = ++m_max_keypool_index;
if (!walletdb.WritePool(index, CKeyPool(GenerateNewKey(walletdb, internal), internal))) {
if (!walletdb.WritePool(index, CKeyPool(GenerateNewKey(walletdb, fInternal), fInternal))) {
throw std::runtime_error(std::string(__func__) + ": writing generated key failed");
}