mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-06 15:08:39 +00:00
core/txpool/blobpool: remove duplicated check between parseTransaction and trackTransaction
This commit is contained in:
parent
a627a77b2d
commit
296c236cec
1 changed files with 0 additions and 3 deletions
|
|
@ -722,9 +722,6 @@ func (p *BlobPool) parseTransaction(id uint64, size uint32, blob []byte) (bool,
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
meta := newBlobTxMeta(id, ptx.TxSize(), size, &ptx)
|
meta := newBlobTxMeta(id, ptx.TxSize(), size, &ptx)
|
||||||
if p.lookup.exists(meta.hash) {
|
|
||||||
return false, errors.New("duplicate blob entry")
|
|
||||||
}
|
|
||||||
sender, err := types.Sender(p.signer, ptx.Tx)
|
sender, err := types.Sender(p.signer, ptx.Tx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue