Skip to content

Commit

Permalink
style(golang): Eliminate unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Mar 11, 2024
1 parent f091b6d commit 6c2b107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang/cosmos/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ func NewAgoricApp(
if err != nil {
panic(err)
}
if upgradeInfo.Name != "" && upgradeNamesOfThisVersion[upgradeInfo.Name] && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
if upgradeNamesOfThisVersion[upgradeInfo.Name] && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Deleted: []string{
crisistypes.ModuleName, // The SDK discontinued the crisis module in v0.51.0
Expand Down

0 comments on commit 6c2b107

Please sign in to comment.