Skip to content

Commit

Permalink
fix implicit memory aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Sep 8, 2023
1 parent c4e3501 commit a6d2801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ func RegisterSwaggerAPI(rtr *mux.Router) {
// Setup Upgrade Handler
func (app *MigalooApp) setupUpgradeHandlers(cfg module.Configurator) {
for _, upgrade := range Upgrades {
upgrade := upgrade
upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
if err != nil {
panic(fmt.Sprintf("failed to read upgrade info from disk %s", err))
Expand Down

0 comments on commit a6d2801

Please sign in to comment.