aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-20 21:41:33 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-20 21:41:33 +0200
commita6403846eff25449a8c6979770de4d0622d5111b (patch)
tree0a9087b33067c54ef74581553942154f50458775
parentMerge pull request #2429 (diff)
parentUpdate wallet2.cpp for misspelling (diff)
downloadmonero-a6403846eff25449a8c6979770de4d0622d5111b.tar.xz
Merge pull request #2441
fee3c3ed Update wallet2.cpp for misspelling (Matthew Campassi)
-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 f72d281c7..805d5c737 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -5536,7 +5536,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;