miner: remove todo comment

see https://github.com/ethereum/go-ethereum/pull/32372#discussion_r2265885182
This commit is contained in:
cuiweixie 2025-08-11 17:22:43 +08:00
parent 40072af04a
commit cec258ee98

View file

@ -543,7 +543,6 @@ func totalFees(block *types.Block, receipts []*types.Receipt) *big.Int {
for i, tx := range block.Transactions() { for i, tx := range block.Transactions() {
minerFee, _ := tx.EffectiveGasTip(block.BaseFee()) minerFee, _ := tx.EffectiveGasTip(block.BaseFee())
feesWei.Add(feesWei, new(big.Int).Mul(new(big.Int).SetUint64(receipts[i].GasUsed), minerFee)) feesWei.Add(feesWei, new(big.Int).Mul(new(big.Int).SetUint64(receipts[i].GasUsed), minerFee))
// TODO (MariusVanDerWijden) add blob fees
} }
return feesWei return feesWei
} }