mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-08 21:48:05 -05:00
Fix incorrect argument binding.
This commit is contained in:
@@ -34,7 +34,7 @@ func epochFlags(cmd *cobra.Command) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func epochBindings(cmd *cobra.Command) {
|
func epochBindings(cmd *cobra.Command) {
|
||||||
if err := viper.BindPFlag("validators", cmd.Flags().Lookup("validators")); err != nil {
|
if err := viper.BindPFlag("epoch", cmd.Flags().Lookup("epoch")); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user