Unverified Commit 41ee96fd authored by lightclient's avatar lightclient Committed by GitHub

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

parent b8adb4cb
......@@ -714,7 +714,7 @@ func (p *BlobPool) offload(addr common.Address, nonce uint64, id uint64, inclusi
return
}
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)
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment