Merge pull request #10204

90dad18 tx pool: only increment m_txpool_weight for newly added pool txs (j-berman)
This commit is contained in:
tobtoht 2025-11-12 09:20:34 +00:00
commit 14f3d408ad
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -344,7 +344,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;