Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
facundomedica committed Jun 28, 2023
1 parent 5390e49 commit e390814
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ func (app *UmeeApp) registerUpgrade5_1(upgradeInfo upgradetypes.Plan) {
})

// TODO: set the correct drain account. This will panic if executed.
if err := app.GravityKeeper.MigrateFundsToDrainAccount(ctx, sdk.MustAccAddressFromBech32("the_drain_account")); err != nil {
if err := app.GravityKeeper.MigrateFundsToDrainAccount(
ctx,
sdk.MustAccAddressFromBech32("the_drain_account"),
); err != nil {
return nil, err
}
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
Expand Down

0 comments on commit e390814

Please sign in to comment.