aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-06-19 16:10:12 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-06-19 16:10:12 -0500
commitf0ada2f22bbecda5448df6278e06299bd594a5fc (patch)
tree4c478c7e72a007ddcc19192d1fc090bfb64e7184
parentMerge pull request #6646 (diff)
parentFix D++ block template check (diff)
downloadmonero-f0ada2f22bbecda5448df6278e06299bd594a5fc.tar.xz
Merge pull request #6648
3b390fb Fix D++ block template check (vtnerd)
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 1fc2a637a..f95645abd 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -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;