message: fix bug with fWalletUnlockAnonymizeOnly flag setting
diff: @@ -253,23 +253,13 @@ bool CWallet::LoadMultiSig(const CScript& dest)
  bool CWallet::Unlock(const SecureString& strWalletPassphrase, bool anonymizeOnly)
  {
  - SecureString strWalletPassphraseFinal;
  -
  - if (!IsLocked()) {
  - fWalletUnlockAnonymizeOnly = anonymizeOnly;
  - return true;
  - }
  -
  - strWalletPassphraseFinal = strWalletPassphrase;
  -
  -
  CCrypter crypter;
  CKeyingMaterial vMasterKey;
  {
  LOCK(cs_wallet);
  BOOST_FOREACH (const MasterKeyMap::value_type& pMasterKey, mapMasterKeys) {
  - if (!crypter.SetKeyFromPassphrase(strWalletPassphraseFinal, pMasterKey.second.vchSalt, pMasterKey.second.nDeriveIterations, pMasterKey.second.nDerivationMethod))
  + if (!crypter.SetKeyFromPassphrase(strWalletPassphrase, pMasterKey.second.vchSalt, pMasterKey.second.nDeriveIterations, pMasterKey.second.nDerivationMethod))
  return false;
  if (!crypter.Decrypt(pMasterKey.second.vchCryptedKey, vMasterKey))
  continue; // try another master key
  