Skip to content

Commit

Permalink
core/txpool/blobpool: fix rlp decoding flaw during offload (#28027)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Aug 30, 2023
1 parent b8adb4c commit 41ee96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/blobpool/blobpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 41ee96f

Please sign in to comment.