aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-22 20:46:19 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-22 20:46:19 +0100
commitf3c374fe08c2f309b3349a2341f4ebf5b8c10609 (patch)
treeb592208568d9cb4b642e4107c6ec63c7115ade85 /src
parentMerge pull request #1237 (diff)
downloadmonero-f3c374fe08c2f309b3349a2341f4ebf5b8c10609.tar.xz
tx_pool: set relayed flag on relay
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/tx_pool.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 178cbda3c..644ad4727 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;
+ }
}
}
//---------------------------------------------------------------------------------