You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin#8808: Do not shadow variables (gcc set)
ad1ae7a Check and enable -Wshadow by default. (Pavel Janík)
9de90bb Do not shadow variables (gcc set) (Pavel Janík)
Tree-SHA512: 9517feb423dc8ddd63896016b25324673bfbe0bffa97f22996f59d7a3fcbdc2ebf2e43ac02bc067546f54e293e9b2f2514be145f867321e9031f895c063d9fb8
if (!crypter.SetKeyFromPassphrase(strWalletPassphraseFinal, pMasterKey.second.vchSalt, pMasterKey.second.nDeriveIterations, pMasterKey.second.nDerivationMethod))
451
451
returnfalse;
452
-
if (!crypter.Decrypt(pMasterKey.second.vchCryptedKey, vMasterKey))
452
+
if (!crypter.Decrypt(pMasterKey.second.vchCryptedKey, _vMasterKey))
453
453
continue; // try another master key
454
-
if (CCryptoKeyStore::Unlock(vMasterKey, fForMixingOnly)) {
454
+
if (CCryptoKeyStore::Unlock(_vMasterKey, fForMixingOnly)) {
if (!crypter.SetKeyFromPassphrase(strNewWalletPassphrase, pMasterKey.second.vchSalt, pMasterKey.second.nDeriveIterations, pMasterKey.second.nDerivationMethod))
515
515
returnfalse;
516
-
if (!crypter.Encrypt(vMasterKey, pMasterKey.second.vchCryptedKey))
516
+
if (!crypter.Encrypt(_vMasterKey, pMasterKey.second.vchCryptedKey))
0 commit comments