diff --git a/app/app.go b/app/app.go index 85f6c134930..774e7c9388c 100644 --- a/app/app.go +++ b/app/app.go @@ -357,7 +357,8 @@ func (app *GaiaApp) setupUpgradeStoreLoaders() { for _, upgrade := range Upgrades { if upgradeInfo.Name == upgrade.UpgradeName { - app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &upgrade.StoreUpgrades)) + storeUpgrades := upgrade.StoreUpgrades + app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades)) } } }