From 4403c925f8ff8d90493d42594cd769d99c957ac3 Mon Sep 17 00:00:00 2001 From: scorpioborn <97235353+scorpioborn@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:53:17 +0330 Subject: [PATCH] lint: remove unnecessary else --- x/reward/module.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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