diff --git a/app/app.go b/app/app.go index 3256c7bf..0a24f7a4 100644 --- a/app/app.go +++ b/app/app.go @@ -1146,6 +1146,7 @@ func (app *MigalooApp) setupUpgradeHandlers(cfg module.Configurator) { } for _, upgrade := range Upgrades { + upgrade := upgrade if upgradeInfo.Name == upgrade.UpgradeName { app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &upgrade.StoreUpgrades)) }