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

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;