core/txpool/blobpool: fix rlp decoding flaw during offload (#28027)
This commit is contained in:
parent
b8adb4cb0c
commit
41ee96fdfe
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user