Skip to content

Commit

Permalink
Fix cmdRPCProvider flag typo (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
kajeagentspi authored Feb 2, 2023
1 parent ed34b4a commit 41cd727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lavad/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func main() {
cmdRPCProvider.MarkFlagRequired(sentry.GeolocationFlag)
cmdRPCProvider.Flags().String(performance.PprofAddressFlagName, "", "pprof server address, used for code profiling")
cmdRPCProvider.Flags().String(performance.CacheFlagName, "", "address for a cache server to improve performance")
cmdServer.Flags().Uint(chainproxy.ParallelConnectionsFlag, chainproxy.NumberOfParallelConnections, "parallel connections")
cmdRPCProvider.Flags().Uint(chainproxy.ParallelConnectionsFlag, chainproxy.NumberOfParallelConnections, "parallel connections")
// rootCmd.AddCommand(cmdRPCProvider) // TODO: DISABLE COMMAND SO IT'S NOT EXPOSED ON MAIN YET

if err := svrcmd.Execute(rootCmd, app.DefaultNodeHome); err != nil {
Expand Down

0 comments on commit 41cd727

Please sign in to comment.