Merge pull request #10203

a378b59 tx pool: only increment m_txpool_weight for newly added pool txs (j-berman)
This commit is contained in:
tobtoht 2025-11-12 09:19:59 +00:00
commit 687b7a4ac0
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -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;