Skip to content

Commit

Permalink
internal/ethapi: don't return header.Size
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed May 25, 2023
1 parent 9231770 commit dc8d91a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/ethapi/api.go
Expand Up @@ -1237,7 +1237,6 @@ 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 dc8d91a

Please sign in to comment.