From a868151ce9cc80e8f9bc7c3f451df3ba03321680 Mon Sep 17 00:00:00 2001 From: Will Winder Date: Mon, 14 Mar 2022 16:18:22 -0400 Subject: [PATCH] Fix validator threads variable. --- cmd/validator/core/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/validator/core/command.go b/cmd/validator/core/command.go index a5180f674..aa3531f05 100644 --- a/cmd/validator/core/command.go +++ b/cmd/validator/core/command.go @@ -42,7 +42,7 @@ func init() { ValidatorCmd.Flags().IntVarP(&config.RetryDelayMS, "retry-delay", "", 1000, "Time in milliseconds to sleep between retries.") ValidatorCmd.Flags().StringVar(&addr, "addr", "", "If provided validate a single address instead of reading Stdin.") ValidatorCmd.Flags().IntVar(&threads, "threads", 4, "Number of worker threads to initialize.") - ValidatorCmd.Flags().IntVar(&threads, "processor", 0, "Choose compare algorithm [0 = Struct, 1 = Reflection]") + ValidatorCmd.Flags().IntVar(&processorNum, "processor", 0, "Choose compare algorithm [0 = Struct, 1 = Reflection]") ValidatorCmd.Flags().BoolVar(&printCurl, "print-commands", false, "Print curl commands, including tokens, to query algod and indexer.") }