Skip to content

Commit

Permalink
Revert "internal/ethapi: don't return header size from rpc (ethereum#…
Browse files Browse the repository at this point in the history
…27347)"

This reverts commit 49ed215.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 5625b34 commit 38a3335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ethapi/api.go
Expand Up @@ -1237,6 +1237,7 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} {
"miner": head.Coinbase,
"difficulty": (*hexutil.Big)(head.Difficulty),
"extraData": hexutil.Bytes(head.Extra),
"size": hexutil.Uint64(head.Size()),
"gasLimit": hexutil.Uint64(head.GasLimit),
"gasUsed": hexutil.Uint64(head.GasUsed),
"timestamp": hexutil.Uint64(head.Time),
Expand Down

0 comments on commit 38a3335

Please sign in to comment.