Skip to content

Commit 684bb3c

Browse files
remove unused run mode handling
1 parent ae1e80a commit 684bb3c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

prover/server/main.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -635,24 +635,13 @@ func runCli() {
635635

636636
preloadKeys := context.String("preload-keys")
637637
preloadCircuits := context.StringSlice("preload-circuits")
638-
runModeStr := context.String("run-mode")
639638

640639
logging.Logger().Info().
641640
Str("preload_keys", preloadKeys).
642641
Strs("preload_circuits", preloadCircuits).
643-
Str("run_mode", runModeStr).
644642
Str("keys_dir", keysDirPath).
645643
Msg("Initializing lazy key manager")
646644

647-
var runMode common.RunMode
648-
var err error
649-
if runModeStr != "" {
650-
runMode, err = parseRunMode(runModeStr)
651-
if err != nil {
652-
return err
653-
}
654-
}
655-
656645
if preloadKeys == "all" {
657646
logging.Logger().Info().Msg("Preloading all keys")
658647
if err := keyManager.PreloadAll(); err != nil {

0 commit comments

Comments
 (0)