diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-22 20:46:19 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-22 20:46:19 +0100 |
commit | f3c374fe08c2f309b3349a2341f4ebf5b8c10609 (patch) | |
tree | b592208568d9cb4b642e4107c6ec63c7115ade85 /src | |
parent | Merge pull request #1237 (diff) | |
download | monero-f3c374fe08c2f309b3349a2341f4ebf5b8c10609.tar.xz |
tx_pool: set relayed flag on relay
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 3 |
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; + } } } //--------------------------------------------------------------------------------- |