mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge Bitcoin#9960: Trivial: Add const modifier to GetHDChain and IsHDEnabled
Signed-off-by: Pasta <Pasta@dash.org>
This commit is contained in:
parent
eecc724362
commit
e7a21faa2b
@ -1604,7 +1604,7 @@ bool CWallet::GetDecryptedHDChain(CHDChain& hdChainRet)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWallet::IsHDEnabled()
|
bool CWallet::IsHDEnabled() const
|
||||||
{
|
{
|
||||||
CHDChain hdChainCurrent;
|
CHDChain hdChainCurrent;
|
||||||
return GetHDChain(hdChainCurrent);
|
return GetHDChain(hdChainCurrent);
|
||||||
|
@ -1164,7 +1164,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Returns true if HD is enabled */
|
/* Returns true if HD is enabled */
|
||||||
bool IsHDEnabled();
|
bool IsHDEnabled() const;
|
||||||
/* Generates a new HD chain */
|
/* Generates a new HD chain */
|
||||||
void GenerateNewHDChain();
|
void GenerateNewHDChain();
|
||||||
/* Set the HD chain model (chain child index counters) */
|
/* Set the HD chain model (chain child index counters) */
|
||||||
|
Loading…
Reference in New Issue
Block a user