mirror of
https://github.com/monero-project/monero.git
synced 2025-12-05 20:40:22 -08: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user