Skip to content

Commit

Permalink
Revert "core/types: deepcopy ExcessDataGas, DataGasUsed (ethereum#27767
Browse files Browse the repository at this point in the history
…)"

This reverts commit 0c56bf3.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent e971c8c commit 696c0ce
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/types/block.go
Expand Up @@ -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
}

Expand Down

0 comments on commit 696c0ce

Please sign in to comment.