Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Jul 3, 2023
1 parent 4ac0a4b commit 782f2a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jsonrpc/eth_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type ProverAccountProof struct {
}

type ProverData struct {
ChainId interface{}
ChainID interface{}
BlockHeader types.Header
PreviousBlockHeader types.Header
Accounts interface{}
Expand Down

0 comments on commit 782f2a6

Please sign in to comment.