Skip to content

Commit

Permalink
Update app/app.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
rootulp and coderabbitai[bot] authored Nov 21, 2024
1 parent 8e9dd1f commit 586e7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.Respo
} else if shouldUpgrade, newVersion := app.SignalKeeper.ShouldUpgrade(ctx); shouldUpgrade {
// Version changes must be increasing. Downgrades are not permitted
if newVersion > currentVersion {
app.BaseApp.Logger().Info("upgrading app version", "current version", currentVersion, "new version", newVersion))
app.BaseApp.Logger().Info("upgrading app version", "current version", currentVersion, "new version", newVersion)
app.SetAppVersion(ctx, newVersion)
app.SignalKeeper.ResetTally(ctx)
}
Expand Down

0 comments on commit 586e7f7

Please sign in to comment.