diff --git a/x/bet/module.go b/x/bet/module.go index d4e5636f..f291758a 100644 --- a/x/bet/module.go +++ b/x/bet/module.go @@ -86,9 +86,8 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.GetTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns the module's root query command. diff --git a/x/house/module.go b/x/house/module.go index 158bbdcc..3c9cb386 100644 --- a/x/house/module.go +++ b/x/house/module.go @@ -76,9 +76,8 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.NewTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns no root query command for the house module. diff --git a/x/market/module.go b/x/market/module.go index e6059149..4ab32aa7 100644 --- a/x/market/module.go +++ b/x/market/module.go @@ -91,9 +91,8 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.GetTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns the module's root query command. diff --git a/x/ovm/module.go b/x/ovm/module.go index a6155e7e..aefd4dfd 100644 --- a/x/ovm/module.go +++ b/x/ovm/module.go @@ -84,9 +84,8 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.GetTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns the module's root query command. diff --git a/x/reward/module.go b/x/reward/module.go index 7bbf5ce5..a1ba4644 100644 --- a/x/reward/module.go +++ b/x/reward/module.go @@ -81,9 +81,8 @@ func (a AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.GetTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns the root query command for the module. The subcommands of this root command are used by end-users to generate new queries to the subset of the state defined by the module diff --git a/x/subaccount/module.go b/x/subaccount/module.go index 416ba9d2..e53597a8 100644 --- a/x/subaccount/module.go +++ b/x/subaccount/module.go @@ -81,9 +81,8 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { // transactions deprecated in favor of v2 if testing.Testing() { return cli.GetTxCmd() - } else { - return nil } + return nil } // GetQueryCmd returns the module's root query command.