Merge pull request #4995

99765b21 Remove unused hash in export_key_images (doy-lee)
This commit is contained in:
Riccardo Spagni 2019-01-16 19:08:48 +02:00
commit 8e04070d9d
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 0 additions and 3 deletions

View File

@ -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,