diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c5e6de6238..0db1a8c955 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4417,6 +4417,7 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize) assert(m_max_keypool_index < std::numeric_limits::max()); // How in the hell did you use so many keys? int64_t index = ++m_max_keypool_index; + // TODO: implement keypools for all accounts? CPubKey pubkey(GenerateNewKey(walletdb, 0, fInternal)); if (!walletdb.WritePool(index, CKeyPool(pubkey, fInternal))) { throw std::runtime_error(std::string(__func__) + ": writing generated key failed");