Skip to content

Commit

Permalink
Merge branch 'refactor_appgate' into relayer/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
h5law committed Nov 12, 2023
2 parents 8493b2c + 0d9edb9 commit c85f75b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/appgateserver/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ func setupAppGateServerDependencies(cmd *cobra.Command, ctx context.Context, com
clientCtx := cosmosclient.GetClientContextFromCmd(cmd)

// Create the events client.
eventsQueryClient := eventsquery.NewEventsQueryClient(flagCometWebsocketUrl)
eventsQueryClient := eventsquery.NewEventsQueryClient(cometWebsocketUrl)

// Create the block client.
log.Printf("INFO: Creating block client, using comet websocket URL: %s...", flagCometWebsocketUrl)
log.Printf("INFO: Creating block client, using comet websocket URL: %s...", cometWebsocketUrl)
deps := depinject.Supply(eventsQueryClient)
blockClient, err := blockclient.NewBlockClient(ctx, deps, flagCometWebsocketUrl)
blockClient, err := blockclient.NewBlockClient(ctx, deps, cometWebsocketUrl)
if err != nil {
return nil, fmt.Errorf("failed to create block client: %w", err)
}
Expand Down

0 comments on commit c85f75b

Please sign in to comment.