From 3cef95058c0c30045fb41f8bd957f0ed3ba01df9 Mon Sep 17 00:00:00 2001 From: NicolasDorier Date: Thu, 9 Mar 2017 11:32:02 +0900 Subject: Trivial: Add const modifier to GetHDChain and IsHDEnabled --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet.cpp') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index dc3e0e28d..594afb411 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(); } -- cgit v1.2.3