Merge Bitcoin#9960: Trivial: Add const modifier to GetHDChain and IsHDEnabled

Signed-off-by: Pasta <Pasta@dash.org>
This commit is contained in:
NicolasDorier 2019-05-12 00:12:59 -05:00 committed by Pasta
parent eecc724362
commit e7a21faa2b
No known key found for this signature in database
GPG Key ID: 0B8EB7A31A44D9C6
2 changed files with 2 additions and 2 deletions

View File

@ -1604,7 +1604,7 @@ bool CWallet::GetDecryptedHDChain(CHDChain& hdChainRet)
return true;
}
bool CWallet::IsHDEnabled()
bool CWallet::IsHDEnabled() const
{
CHDChain hdChainCurrent;
return GetHDChain(hdChainCurrent);

View File

@ -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) */