Merge pull request #6648

3b390fb Fix D++ block template check (vtnerd)
This commit is contained in:
luigi1111 2020-06-19 16:10:12 -05:00
commit f0ada2f22b
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1351,7 +1351,7 @@ namespace cryptonote
for (; sorted_it != m_txs_by_fee_and_receive_time.end(); ++sorted_it)
{
txpool_tx_meta_t meta;
if (!m_blockchain.get_txpool_tx_meta(sorted_it->second, meta) && !meta.matches(relay_category::legacy))
if (!m_blockchain.get_txpool_tx_meta(sorted_it->second, meta) || !meta.matches(relay_category::legacy))
{
MERROR(" failed to find tx meta");
continue;