Skip to content

Commit

Permalink
Merge pull request #1554 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
remove header.Size in rpc getHeaderByXXX
  • Loading branch information
ucwong authored May 30, 2023
2 parents 0cad7b3 + 9c4029c commit 5595e81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/ctxcapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,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 5595e81

Please sign in to comment.