Used legacy category to match insert_key_images behavior

This commit is contained in:
Lee Clagett 2020-04-24 20:19:37 -04:00
parent 378cdeaeae
commit ee58362b1f

View File

@ -1121,7 +1121,7 @@ namespace cryptonote
// See `insert_key_images`.
if (1 < found->second.size() || *(found->second.cbegin()) != txid)
return true;
return m_blockchain.txpool_tx_matches_category(txid, relay_category::broadcasted);
return m_blockchain.txpool_tx_matches_category(txid, relay_category::legacy);
}
return false;
}