diff options
| author | Matthew Campassi <matthew@campassi.com> | 2017-09-12 16:11:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-12 16:11:45 -0500 |
| commit | fee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374 (patch) | |
| tree | 92214341fed06ee7fb21a5ce02274b6e063fa7d5 /src/wallet/wallet2.cpp | |
| parent | 02e5dcd2fab07c46b4943028cfabecbba4745b58 (diff) | |
| download | monzero-core-fee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374.tar.gz monzero-core-fee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374.tar.xz monzero-core-fee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374.zip | |
Update wallet2.cpp for misspelling
Misspelling in wallet2.cpp
Diffstat (limited to 'src/wallet/wallet2.cpp')
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 323a3a7fe..8e3ba66e4 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5559,7 +5559,7 @@ std::string wallet2::decrypt(const std::string &ciphertext, const crypto::secret crypto::secret_key_to_public_key(skey, pkey); const crypto::signature &signature = *(const crypto::signature*)&ciphertext[ciphertext.size() - sizeof(crypto::signature)]; THROW_WALLET_EXCEPTION_IF(!crypto::check_signature(hash, pkey, signature), - error::wallet_internal_error, "Failed to authenticate criphertext"); + error::wallet_internal_error, "Failed to authenticate ciphertext"); } crypto::chacha8(ciphertext.data() + sizeof(iv), ciphertext.size() - prefix_size, key, iv, &plaintext[0]); return plaintext; |
