Used legacy category to match insert_key_images behavior

This commit is contained in:
Lee Clagett 2020-04-24 20:19:37 -04:00 committed by wowario
parent a3fc63fa78
commit 0e59f26064
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

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;
}