mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
txpool: log error for missing sidecar in blob transaction
This commit is contained in:
parent
0413af40f6
commit
9c6f6413fa
1 changed files with 4 additions and 0 deletions
|
|
@ -995,6 +995,10 @@ func (p *BlobPool) convertLegacySidecar(sender common.Address, hash common.Hash,
|
|||
return false
|
||||
}
|
||||
sc := tx.BlobTxSidecar()
|
||||
if sc == nil {
|
||||
log.Error("Missing sidecar in blob transaction", "hash", hash, "id", id)
|
||||
return false
|
||||
}
|
||||
if sc.Version >= types.BlobSidecarVersion1 {
|
||||
log.Debug("Skipping conversion of blob tx", "hash", hash, "id", id)
|
||||
return false
|
||||
|
|
|
|||
Loading…
Reference in a new issue