From 4211e5a5cb101046abc0fb2dbf07a7a0ab9bd82b Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 18 Nov 2016 10:06:16 +0800 Subject: [PATCH] decrypt function updated --- src/tools.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tools.cpp b/src/tools.cpp index e889274..f11f911 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -818,11 +818,6 @@ namespace xmreg crypto::public_key pkey; crypto::secret_key_to_public_key(skey, pkey); - const crypto::signature &signature = - *(const crypto::signature*)&ciphertext[ciphertext.size() - - sizeof(crypto::signature)]; - - const crypto::signature &signature = *(const crypto::signature*)&ciphertext[ciphertext.size() - sizeof(crypto::signature)];