Merge pull request #6478

ee58362 Used legacy category to match insert_key_images behavior (vtnerd)
This commit is contained in:
luigi1111 2020-05-06 00:27:13 -05:00
commit 0f233c6ad8
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1121,7 +1121,7 @@ namespace cryptonote
// See `insert_key_images`. // See `insert_key_images`.
if (1 < found->second.size() || *(found->second.cbegin()) != txid) if (1 < found->second.size() || *(found->second.cbegin()) != txid)
return true; 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; return false;
} }