Skip to content

Commit

Permalink
lint: remove unnecessary else
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Nov 4, 2024
1 parent 86d6d49 commit 4403c92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/reward/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4403c92

Please sign in to comment.