diff options
author | NicolasDorier <nicolas.dorier@gmail.com> | 2017-03-09 11:32:02 +0900 |
---|---|---|
committer | NicolasDorier <nicolas.dorier@gmail.com> | 2017-03-09 11:32:02 +0900 |
commit | 3cef95058c0c30045fb41f8bd957f0ed3ba01df9 (patch) | |
tree | 509e8b1b0fd8fce95f09cab7b722272932ba5311 /src/wallet/wallet.cpp | |
parent | 6996e066b538f03b8aa1f617dbb959b57ff6e727 (diff) | |
download | bitcoin-3cef95058c0c30045fb41f8bd957f0ed3ba01df9.tar.xz |
Trivial: Add const modifier to GetHDChain and IsHDEnabled
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 dc3e0e28d1..594afb4110 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1329,7 +1329,7 @@ bool CWallet::SetHDChain(const CHDChain& chain, bool memonly) return true; } -bool CWallet::IsHDEnabled() +bool CWallet::IsHDEnabled() const { return !hdChain.masterKeyID.IsNull(); } |