diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index efdcb2cb1bf3e7..5d9b9cdd98dd92 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -817,7 +817,7 @@ bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase) } if (!hdChainCurrent.IsNull()) { - assert(EncryptHDChain(vMasterKey)); + assert(EncryptHDChain(_vMasterKey)); CHDChain hdChainCrypted; assert(GetHDChain(hdChainCrypted));