Merge pull request #108 from mksh/patch-1

Fix typo in cmd/root.go
This commit is contained in:
Jim McDonald
2023-07-05 08:24:32 +02:00
committed by GitHub

View File

@@ -158,7 +158,7 @@ func addPersistentFlags() {
if err := viper.BindPFlag("path", RootCmd.PersistentFlags().Lookup("path")); err != nil {
panic(err)
}
RootCmd.PersistentFlags().String("private-key", "", "Private key to provide access to an account or validaotr")
RootCmd.PersistentFlags().String("private-key", "", "Private key to provide access to an account or validator")
if err := viper.BindPFlag("private-key", RootCmd.PersistentFlags().Lookup("private-key")); err != nil {
panic(err)
}