diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 2a2e1080b0..c013b7b1e3 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1965,6 +1965,10 @@ func (p *BlobPool) Add(txs []*types.Transaction, sync bool) []error { errs[i] = err continue } + if err := txpool.ValidateCells(ptx.CellSidecar); err != nil { + errs[i] = err + continue + } errs[i] = p.AddPooledTx(ptx) } return errs @@ -2034,10 +2038,6 @@ func (p *BlobPool) addLocked(ptx *BlobTxForPool, checkGapped bool) (err error) { } return err } - //todo: validation happens twice for eth72 - if err := txpool.ValidateCells(ptx.CellSidecar); err != nil { - return err - } // If the address is not yet known, request exclusivity to track the account // only by this subpool until all transactions are evicted from, _ := types.Sender(p.signer, tx) // already validated above