Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Nov 10, 2023
1 parent 9efde4f commit 3de8b3e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkg/relayer/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var (

func RelayerCmd() *cobra.Command {
cmd := &cobra.Command{
// TODO_DISCUSS: do we want to rename this to `relay-miner`?
Use: "relayer",
Short: "Run a relayer",
Long: `Run a relayer`,
Expand Down Expand Up @@ -107,11 +108,7 @@ func runRelayer(cmd *cobra.Command, _ []string) error {
return err
}

// Wait for all goroutines to finish
// wg.Wait()

// TODO_IN_THIS_COMMIT: synchronize exit

log.Println("INFO: Relayer proxy stopped; exiting")
return nil
}

Expand All @@ -132,8 +129,8 @@ func setupRelayerDependencies(
return nil, err
}

// Construct base dependency injection config.
deps = supplyEventsQueryClient(deps, nodeURL)

deps, err = supplyBlockClient(ctx, deps, nodeURL)
if err != nil {
return nil, err
Expand Down

0 comments on commit 3de8b3e

Please sign in to comment.