From f3c374fe08c2f309b3349a2341f4ebf5b8c10609 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 22 Oct 2016 20:46:19 +0100 Subject: [PATCH] tx_pool: set relayed flag on relay --- src/cryptonote_core/tx_pool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 178cbda3..644ad472 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -387,7 +387,10 @@ namespace cryptonote { auto i = m_transactions.find(it->first); if (i != m_transactions.end()) + { + i->second.relayed = true; i->second.last_relayed_time = now; + } } } //---------------------------------------------------------------------------------