tx_pool: set relayed flag on relay
This commit is contained in:
parent
0b93dd39db
commit
f3c374fe08
|
@ -387,9 +387,12 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//---------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------
|
||||||
size_t tx_memory_pool::get_transactions_count() const
|
size_t tx_memory_pool::get_transactions_count() const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue