From 4f8c3b771faa79bab278c8429deee4e1a9ddb8bf Mon Sep 17 00:00:00 2001 From: doy-lee Date: Wed, 19 Dec 2018 14:45:13 +1100 Subject: [PATCH] Remove unused hash in export_key_images --- src/wallet/wallet2.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index e954117dc..95a33950e 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -10869,9 +10869,6 @@ std::pair>> { 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,