diff --git a/core/types/block.go b/core/types/block.go index b8478e5a1086a..e1f1feb7a2ec3 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -284,14 +284,6 @@ func CopyHeader(h *Header) *Header { cpy.WithdrawalsHash = new(common.Hash) *cpy.WithdrawalsHash = *h.WithdrawalsHash } - if h.ExcessDataGas != nil { - cpy.ExcessDataGas = new(uint64) - *cpy.ExcessDataGas = *h.ExcessDataGas - } - if h.DataGasUsed != nil { - cpy.DataGasUsed = new(uint64) - *cpy.DataGasUsed = *h.DataGasUsed - } return &cpy }