aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 17:25:01 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 17:25:01 -0500
commit99b14ccd6ae1e25d98bc39f33bdcf1378c954731 (patch)
treeb57202e82559e3346f6b79a48a8da1880cd99c17
parentMerge pull request #6629 (diff)
parentFix D++ block template check (diff)
downloadmonero-99b14ccd6ae1e25d98bc39f33bdcf1378c954731.tar.xz
Merge pull request #6647
4d8d121 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;