Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinssgh committed Apr 4, 2024
1 parent c7b3add commit 0e8c137
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions zetaclient/testutils/stub/sdk_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 0e8c137

Please sign in to comment.