mirror of
https://github.com/monero-project/monero.git
synced 2025-12-08 16:11:28 +09:00
Merge pull request #10203
a378b59 tx pool: only increment m_txpool_weight for newly added pool txs (j-berman)
This commit is contained in:
commit
687b7a4ac0
@ -343,7 +343,8 @@ namespace cryptonote
|
||||
}
|
||||
|
||||
tvc.m_verifivation_failed = false;
|
||||
m_txpool_weight += tx_weight;
|
||||
if (tvc.m_added_to_pool)
|
||||
m_txpool_weight += tx_weight;
|
||||
|
||||
++m_cookie;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user