diff --git a/src/wallet/crypter.cpp b/src/wallet/crypter.cpp index 2122ebf20..92447e781 100644 --- a/src/wallet/crypter.cpp +++ b/src/wallet/crypter.cpp @@ -192,7 +192,8 @@ bool CCryptoKeyStore::SetCrypted() return true; if (!(mapKeys.empty() && mapSproutSpendingKeys.empty() && mapSaplingSpendingKeys.empty())) return false; - return fUseCrypto = true; + fUseCrypto = true; + return true; } bool CCryptoKeyStore::Lock()