From 7ec4cd4f0f75f4465c2e24f74af80a13f672e774 Mon Sep 17 00:00:00 2001 From: Pasta Date: Sun, 30 Dec 2018 16:11:15 -0600 Subject: [PATCH] fix #8808 backport --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));