mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
make blobgas nil
This commit is contained in:
parent
073bb183da
commit
9c1308818c
1 changed files with 2 additions and 8 deletions
|
|
@ -531,14 +531,8 @@ func (g *Genesis) ToBlock() *types.Block {
|
|||
withdrawals = nil
|
||||
}
|
||||
if conf.IsCancun(num) {
|
||||
head.ExcessBlobGas = g.ExcessBlobGas
|
||||
head.BlobGasUsed = g.BlobGasUsed
|
||||
if head.ExcessBlobGas == nil {
|
||||
head.ExcessBlobGas = nil
|
||||
}
|
||||
if head.BlobGasUsed == nil {
|
||||
head.BlobGasUsed = nil
|
||||
}
|
||||
head.ExcessBlobGas = nil
|
||||
head.BlobGasUsed = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue