From adf2eadba2cb313c69b689dbf8e78eff2b602a7f Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 1 Aug 2018 15:47:33 +0100 Subject: [PATCH] Rename DecryptSpendingKey -> DecryptSproutSpendingKey --- src/wallet/crypter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wallet/crypter.cpp b/src/wallet/crypter.cpp index af6bf3565..2bcfabae8 100644 --- a/src/wallet/crypter.cpp +++ b/src/wallet/crypter.cpp @@ -134,7 +134,7 @@ static bool DecryptKey(const CKeyingMaterial& vMasterKey, const std::vector& vchCryptedSecret, const libzcash::SproutPaymentAddress& address, libzcash::SproutSpendingKey& sk) @@ -223,7 +223,7 @@ bool CCryptoKeyStore::Unlock(const CKeyingMaterial& vMasterKeyIn) const libzcash::SproutPaymentAddress &address = (*skmi).first; const std::vector &vchCryptedSecret = (*skmi).second; libzcash::SproutSpendingKey sk; - if (!DecryptSpendingKey(vMasterKeyIn, vchCryptedSecret, address, sk)) + if (!DecryptSproutSpendingKey(vMasterKeyIn, vchCryptedSecret, address, sk)) { keyFail = true; break; @@ -408,7 +408,7 @@ bool CCryptoKeyStore::GetSpendingKey(const libzcash::SproutPaymentAddress &addre if (mi != mapCryptedSpendingKeys.end()) { const std::vector &vchCryptedSecret = (*mi).second; - return DecryptSpendingKey(vMasterKey, vchCryptedSecret, address, skOut); + return DecryptSproutSpendingKey(vMasterKey, vchCryptedSecret, address, skOut); } } return false;