Skip to content

Commit

Permalink
fix(lint): remove lint error for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Feb 6, 2023
1 parent 82cf22e commit d5bb919
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (app *App) setupUpgradeHandlers() {
}

var storeUpgrades *storetypes.StoreUpgrades
switch upgradeInfo.Name {
switch upgradeInfo.Name { //nolint:gocritic // next upgrade will need switch case
case v4.UpgradeName:
storeUpgrades = v4.StoreUpgrades
}
Expand All @@ -33,5 +33,4 @@ func (app *App) setupUpgradeHandlers() {
// configure store loader that checks if version == upgradeHeight and applies store upgrades
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades))
}

}

0 comments on commit d5bb919

Please sign in to comment.