Fix ZMQ-PUB reporting of mempool txes that were initially in stem phase

This commit is contained in:
Lee Clagett
2026-04-24 09:17:44 -04:00
committed by Lee *!* Clagett
parent f99ee72d4b
commit 05eb7a212e
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1138,7 +1138,7 @@ namespace cryptonote
const bool res = m_mempool.add_tx(tx, tx_hash, blob, tx_weight, tvc, tx_relay, relayed, version);
// If new incoming tx passed verification and entered the pool, notify ZMQ
if (!tvc.m_verifivation_failed && tvc.m_added_to_pool && matches_category(tx_relay, relay_category::legacy))
if (!tvc.m_verifivation_failed && res && matches_category(tx_relay, relay_category::legacy))
{
m_blockchain_storage.notify_txpool_event({txpool_event{
.tx = tx,