From 64dde0f6c3a0bdeea3a5063237d868a77b642f0f Mon Sep 17 00:00:00 2001 From: Pasta Date: Sun, 22 Sep 2019 09:26:55 -0500 Subject: [PATCH] add back the todo Signed-off-by: Pasta --- src/wallet/wallet.cpp | 1 + 1 file changed, 1 insertion(+) 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");