core/txpool/legacypool: remove explicit max blob count

This commit is contained in:
lightclient 2025-05-21 10:53:03 -06:00
parent 3c3df888dc
commit 821604eb20
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -573,7 +573,6 @@ func (pool *LegacyPool) ValidateTxBasics(tx *types.Transaction) error {
1<<types.SetCodeTxType, 1<<types.SetCodeTxType,
MaxSize: txMaxSize, MaxSize: txMaxSize,
MinTip: pool.gasTip.Load().ToBig(), MinTip: pool.gasTip.Load().ToBig(),
MaxBlobCount: 0,
} }
return txpool.ValidateTransaction(tx, pool.currentHead.Load(), pool.signer, opts) return txpool.ValidateTransaction(tx, pool.currentHead.Load(), pool.signer, opts)
} }