Skip to content

Commit

Permalink
add clients
Browse files Browse the repository at this point in the history
  • Loading branch information
expertdicer committed Jul 30, 2023
1 parent fe3730b commit 5d0ffec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/chains/cosmos/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ func (cc *CosmosProvider) QueryClients(ctx context.Context) (clienttypes.Identif
if err != nil {
return nil, err
}
fmt.Println("testtt")
clients = append(clients, res.ClientStates...)
next := res.GetPagination().GetNextKey()
if len(next) == 0 {
Expand All @@ -534,6 +533,7 @@ func (cc *CosmosProvider) QueryClients(ctx context.Context) (clienttypes.Identif
time.Sleep(PaginationDelay)
p.Key = next
}
fmt.Println("clients: ", clients)
return clients, nil
}

Expand Down

0 comments on commit 5d0ffec

Please sign in to comment.