decrypt function updated

This commit is contained in:
moneroexamples 2016-11-18 10:06:16 +08:00
parent 31a1862b80
commit 4211e5a5cb

View file

@ -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)];