From 807ce1ea96bebcd1f3ba6f839bff4d69f185a4a6 Mon Sep 17 00:00:00 2001 From: emidev98 Date: Mon, 16 Oct 2023 08:30:19 +0200 Subject: [PATCH] fix: linting --- cmd/allianced/cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/allianced/cmd/root.go b/cmd/allianced/cmd/root.go index 454e0b6..8c549cd 100644 --- a/cmd/allianced/cmd/root.go +++ b/cmd/allianced/cmd/root.go @@ -193,8 +193,8 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) { func genesisCommand(encodingConfig params.EncodingConfig, cmds ...*cobra.Command) *cobra.Command { cmd := genutilcli.GenesisCoreCommand(encodingConfig.TxConfig, app.ModuleBasics, app.DefaultNodeHome) - for _, sub_cmd := range cmds { - cmd.AddCommand(sub_cmd) + for _, subCmd := range cmds { + cmd.AddCommand(subCmd) } return cmd }