mirror of
https://github.com/wownero/wownero.git
synced 2026-11-20 15:45:05 +01:00
Fix ZMQ-PUB reporting of mempool txes that were initially in stem phase
This commit is contained in:
committed by
Lee *!* Clagett
parent
f99ee72d4b
commit
05eb7a212e
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user