diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-03-02 16:33:45 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-03-02 17:26:30 +0900 |
commit | 037fa770eb1ed5152b3ef2c5d3fb2a812d3ef944 (patch) | |
tree | e6ebc42e82db1ecbcd4eff9feb3091e91cdf527c /src/wallet/wallet.h | |
parent | ddc93557ad0cf8e433df850d38710828ccd99c16 (diff) | |
download | bitcoin-037fa770eb1ed5152b3ef2c5d3fb2a812d3ef944.tar.xz |
wallet: make KeypoolCountExternalKeys() const
This method returns the sum of the key pool sizes. It does no modification.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 668976a574..63ca545084 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -968,7 +968,7 @@ public: /** Absolute maximum transaction fee (in satoshis) used by default for the wallet */ CAmount m_default_max_tx_fee{DEFAULT_TRANSACTION_MAXFEE}; - size_t KeypoolCountExternalKeys() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + size_t KeypoolCountExternalKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool TopUpKeyPool(unsigned int kpSize = 0); int64_t GetOldestKeyPoolTime(); |