aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Campassi <matthew@campassi.com>2017-09-12 16:11:45 -0500
committerGitHub <noreply@github.com>2017-09-12 16:11:45 -0500
commitfee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374 (patch)
tree92214341fed06ee7fb21a5ce02274b6e063fa7d5 /src
parentMerge pull request #2384 (diff)
downloadmonero-fee3c3ed1ea5dd0bd0d7405e2259ea5fcf131374.tar.xz
Update wallet2.cpp for misspelling
Misspelling in wallet2.cpp
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp2
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;