Skip to content

Commit

Permalink
style: ran golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Apr 2, 2024
1 parent 71e1b66 commit 168bd97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/testsuite/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ func (s *E2ETestSuite) PruneAcknowledgements(
// https://github.com/cosmos/cosmos-sdk/blob/65ab2530cc654fd9e252b124ed24cbaa18023b2b/x/auth/client/cli/query.go#L33
func (*E2ETestSuite) QueryTxsByEvents(
ctx context.Context, chain ibc.Chain,
page, limit int, query, orderBy string,
page, limit int, queryReq, orderBy string,
) (*sdk.SearchTxsResult, error) {
cosmosChain, ok := chain.(*cosmos.CosmosChain)
if !ok {
return nil, fmt.Errorf("QueryTxsByEvents must be passed a cosmos.CosmosChain")
}

cmd := []string{"txs", "--query", query}
cmd := []string{"txs", "--query", queryReq}
if orderBy != "" {
cmd = append(cmd, "--order_by", orderBy)
}
Expand Down

0 comments on commit 168bd97

Please sign in to comment.