diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-03-02 16:54:59 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-03-02 17:26:31 +0900 |
commit | 227b9dd2d6e1914edfec108af6bec5f12d9f6f39 (patch) | |
tree | 771c628f8a4a5b81982d8e1484c85ae75a6a342e /src/wallet/wallet.cpp | |
parent | 22d329ad0ed3ed501bd811720be6a2876d1afe4d (diff) | |
download | bitcoin-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.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 8f6dbbad52..bb227b975a 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3177,7 +3177,7 @@ bool CWallet::GetNewChangeDestination(const OutputType type, CTxDestination& des return true; } -int64_t CWallet::GetOldestKeyPoolTime() +int64_t CWallet::GetOldestKeyPoolTime() const { LOCK(cs_wallet); int64_t oldestKey = std::numeric_limits<int64_t>::max(); |