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 authored Nov 10, 2023
1 parent 3aa9bf6 commit 4401477
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/types/block.go
Original file line number Diff line number Diff line change
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 4401477

Please sign in to comment.