tx_pool: set relayed flag on relay

This commit is contained in:
moneromooo-monero 2016-10-22 20:46:19 +01:00
parent 0b93dd39db
commit f3c374fe08
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -387,7 +387,10 @@ namespace cryptonote
{ {
auto i = m_transactions.find(it->first); auto i = m_transactions.find(it->first);
if (i != m_transactions.end()) if (i != m_transactions.end())
{
i->second.relayed = true;
i->second.last_relayed_time = now; i->second.last_relayed_time = now;
}
} }
} }
//--------------------------------------------------------------------------------- //---------------------------------------------------------------------------------