mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
tx_pool: set relayed flag on relay
This commit is contained in:
parent
0b93dd39db
commit
f3c374fe08
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue