Remove unused hash in export_key_images

This commit is contained in:
doy-lee 2018-12-19 14:45:13 +11:00
parent 6bc0c7e685
commit 99765b218e

View file

@ -10699,9 +10699,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,