Revert "core/txpool/blobpool: fix rlp decoding flaw during offload (#28027)"

This reverts commit ca0d2cfce0.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 4edb5b4b1a
commit 0524514eb0

View file

@ -714,7 +714,7 @@ func (p *BlobPool) offload(addr common.Address, nonce uint64, id uint64, inclusi
return return
} }
var tx types.Transaction var tx types.Transaction
if err = rlp.DecodeBytes(data, &tx); err != nil { if err = rlp.DecodeBytes(data, tx); err != nil {
log.Error("Blobs corrupted for included transaction", "from", addr, "nonce", nonce, "id", id, "err", err) log.Error("Blobs corrupted for included transaction", "from", addr, "nonce", nonce, "id", id, "err", err)
return return
} }