Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
4 changes: 2 additions & 2 deletions src/wallet/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,10 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface

/* Set the HD chain model (chain child index counters) */
bool SetHDChain(const CHDChain& chain, bool memonly);
const CHDChain& GetHDChain() { return hdChain; }
const CHDChain& GetHDChain() const { return hdChain; }

/* Returns true if HD is enabled */
bool IsHDEnabled();
bool IsHDEnabled() const;

/* Generates a new HD master key (will not be activated) */
CPubKey GenerateNewHDMasterKey();
Expand Down