Update root.go

Fix typo (RET vs REST)
This commit is contained in:
Myu-Unix
2022-12-13 22:04:42 +01:00
committed by GitHub
parent 03e7f15d04
commit d94e1551a7

View File

@@ -244,7 +244,7 @@ func init() {
if err := viper.BindPFlag("debug", RootCmd.PersistentFlags().Lookup("debug")); err != nil {
panic(err)
}
RootCmd.PersistentFlags().String("connection", "", "URL to an Ethereum 2 node's RET API endpoint")
RootCmd.PersistentFlags().String("connection", "", "URL to an Ethereum 2 node's REST API endpoint")
if err := viper.BindPFlag("connection", RootCmd.PersistentFlags().Lookup("connection")); err != nil {
panic(err)
}