mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 20:36:31 +02:00
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
Block a user