internal -> fInternal
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
b8c1d66fb9
commit
11e41b90c9
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user