Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Dec 5, 2024
1 parent 7b96695 commit faf964f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/blockchaincmd/add_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ func addValidator(_ *cobra.Command, args []string) error {
for {
local := "Use my local machine to spin up an additional validator"
existing := "I have an existing Avalanche node (we will require its NodeID and BLS info)"
option, err := app.Prompt.CaptureList(
if option, err := app.Prompt.CaptureList(
"How would you like to set up the new validator",
[]string{local, existing},
)
if err != nil {
); err != nil {
return err
} else {
createLocalValidator = option == local
break
}
createLocalValidator = option == local
break
}
}

Expand Down

0 comments on commit faf964f

Please sign in to comment.