diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 0722502479..9f7d84769d 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1604,7 +1604,7 @@ bool CWallet::GetDecryptedHDChain(CHDChain& hdChainRet) return true; } -bool CWallet::IsHDEnabled() +bool CWallet::IsHDEnabled() const { CHDChain hdChainCurrent; return GetHDChain(hdChainCurrent); diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 26095893b9..1884f7b9da 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1164,7 +1164,7 @@ public: */ /* Returns true if HD is enabled */ - bool IsHDEnabled(); + bool IsHDEnabled() const; /* Generates a new HD chain */ void GenerateNewHDChain(); /* Set the HD chain model (chain child index counters) */