aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 19:08:48 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 19:08:48 +0200
commit8e04070d9d4033dd4343a7491978836a6b90eb7e (patch)
tree46b7d38895400260613e596719c5fc4ad4669338
parentMerge pull request #4994 (diff)
parentRemove unused hash in export_key_images (diff)
downloadmonero-8e04070d9d4033dd4343a7491978836a6b90eb7e.tar.xz
Merge pull request #4995
99765b21 Remove unused hash in export_key_images (doy-lee)
-rw-r--r--src/wallet/wallet2.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 427917634..6e38e5c38 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -10859,9 +10859,6 @@ std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>>
{
const transfer_details &td = m_transfers[n];
- crypto::hash hash;
- crypto::cn_fast_hash(&td.m_key_image, sizeof(td.m_key_image), hash);
-
// get ephemeral public key
const cryptonote::tx_out &out = td.m_tx.vout[td.m_internal_output_index];
THROW_WALLET_EXCEPTION_IF(out.target.type() != typeid(txout_to_key), error::wallet_internal_error,