aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2020-06-12 22:05:52 -0400
committerLee Clagett <code@leeclagett.com>2020-06-12 22:05:52 -0400
commit4d8d12146227b4c11cb52e131ba21242a956ec29 (patch)
tree988bd5d58774d8ffce10c5c971092ca5144ac492 /src/cryptonote_core
parentMerge pull request #6576 (diff)
downloadmonero-4d8d12146227b4c11cb52e131ba21242a956ec29.tar.xz
Fix D++ block template check
Diffstat (limited to 'src/cryptonote_core')
-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;