From 25bd7cca30eeda36e9226388f3df88af51e43453 Mon Sep 17 00:00:00 2001 From: Dmytro Haidashenko Date: Thu, 25 Jan 2024 19:19:28 +0100 Subject: [PATCH] fix linter --- core/chains/evm/client/rpc_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/chains/evm/client/rpc_client.go b/core/chains/evm/client/rpc_client.go index c7f37178598..bd2cecf82e3 100644 --- a/core/chains/evm/client/rpc_client.go +++ b/core/chains/evm/client/rpc_client.go @@ -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) {