From 0e8c137acb4adf43773090f245270c4e22552db7 Mon Sep 17 00:00:00 2001 From: kevinssgh Date: Wed, 3 Apr 2024 21:01:37 -0400 Subject: [PATCH] fix lint errors --- zetaclient/testutils/stub/sdk_client.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/zetaclient/testutils/stub/sdk_client.go b/zetaclient/testutils/stub/sdk_client.go index b7824252aa..c3129a9370 100644 --- a/zetaclient/testutils/stub/sdk_client.go +++ b/zetaclient/testutils/stub/sdk_client.go @@ -7,7 +7,6 @@ import ( "github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/rpc/client/mock" coretypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/tendermint/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" ) @@ -53,10 +52,10 @@ func (c MockSDKClient) Tx(_ context.Context, _ []byte, _ bool) (*coretypes.Resul } func (c MockSDKClient) Block(_ context.Context, _ *int64) (*coretypes.ResultBlock, error) { - return &coretypes.ResultBlock{Block: &types.Block{ - Header: types.Header{}, - Data: types.Data{}, - Evidence: types.EvidenceData{}, + return &coretypes.ResultBlock{Block: &tmtypes.Block{ + Header: tmtypes.Header{}, + Data: tmtypes.Data{}, + Evidence: tmtypes.EvidenceData{}, }}, c.err }