aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 16:54:59 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 17:26:31 +0900
commit227b9dd2d6e1914edfec108af6bec5f12d9f6f39 (patch)
tree771c628f8a4a5b81982d8e1484c85ae75a6a342e /src/wallet/wallet.h
parent22d329ad0ed3ed501bd811720be6a2876d1afe4d (diff)
downloadbitcoin-227b9dd2d6e1914edfec108af6bec5f12d9f6f39.tar.xz
wallet/spkm: make GetOldestKeyPoolTime() const
The method checks the oldest key time for key pools and returns the oldest. It does no modifications.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 1dd9f779a2..40c72a864b 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -971,7 +971,7 @@ public:
size_t KeypoolCountExternalKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
bool TopUpKeyPool(unsigned int kpSize = 0);
- int64_t GetOldestKeyPoolTime();
+ int64_t GetOldestKeyPoolTime() const;
std::set<std::set<CTxDestination>> GetAddressGroupings() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
std::map<CTxDestination, CAmount> GetAddressBalances(interfaces::Chain::Lock& locked_chain);