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

pull/27940/head
lightclient 1 year ago committed by GitHub
parent b8adb4cb0c
commit 41ee96fdfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/txpool/blobpool/blobpool.go

@ -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
}

Loading…
Cancel
Save