diff --git a/jsonrpc/eth_endpoint.go b/jsonrpc/eth_endpoint.go index cac6fdbf9d..e407794e5f 100644 --- a/jsonrpc/eth_endpoint.go +++ b/jsonrpc/eth_endpoint.go @@ -906,13 +906,13 @@ func (e *Eth) GetProverData(block BlockNumberOrHash) (interface{}, error) { }) } - chainId, err := e.ChainId() + chainID, err := e.ChainId() if err != nil { return nil, err } return &prover.ProverData{ - ChainId: chainId, + ChainID: chainID, BlockHeader: *header, PreviousBlockHeader: *previousHeader, Accounts: accounts, diff --git a/prover/prover.go b/prover/prover.go index 517f595dcd..ad42f5b53e 100644 --- a/prover/prover.go +++ b/prover/prover.go @@ -33,7 +33,7 @@ type ProverAccountProof struct { } type ProverData struct { - ChainId interface{} + ChainID interface{} BlockHeader types.Header PreviousBlockHeader types.Header Accounts interface{}