Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko committed Jan 25, 2024
1 parent bdcf530 commit 25bd7cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/chains/evm/client/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ func (r *rpcClient) HeaderByHash(ctx context.Context, hash common.Hash) (header
return
}

func (client *rpcClient) FinalizedBlock(ctx context.Context) (head *evmtypes.Head, err error) {
return client.blockByNumber(ctx, rpc.FinalizedBlockNumber.String())
func (r *rpcClient) FinalizedBlock(ctx context.Context) (head *evmtypes.Head, err error) {
return r.blockByNumber(ctx, rpc.FinalizedBlockNumber.String())
}

func (r *rpcClient) BlockByNumber(ctx context.Context, number *big.Int) (head *evmtypes.Head, err error) {
Expand Down

0 comments on commit 25bd7cc

Please sign in to comment.