wallet: make KeypoolCountExternalKeys() const

This method returns the sum of the key pool sizes. It does no modification.
This commit is contained in:
Karl-Johan Alm
2020-03-02 16:33:45 +09:00
parent ddc93557ad
commit 037fa770eb
4 changed files with 5 additions and 5 deletions

View File

@@ -3112,7 +3112,7 @@ bool CWallet::DelAddressBook(const CTxDestination& address)
return WalletBatch(*database).EraseName(EncodeDestination(address));
}
size_t CWallet::KeypoolCountExternalKeys()
size_t CWallet::KeypoolCountExternalKeys() const
{
AssertLockHeld(cs_wallet);