Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lint, panic if propLaunch fails
Browse files Browse the repository at this point in the history
RafilxTenfen committed Jul 30, 2024
1 parent 85e0275 commit c27b89e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/upgrades/signetlaunch/upgrades.go
Original file line number Diff line number Diff line change
@@ -40,7 +40,9 @@ func CreateUpgradeHandler(
return func(context context.Context, _plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx := sdk.UnwrapSDKContext(context)

propLaunch(ctx, &keepers.BTCLightClientKeeper)
if err := propLaunch(ctx, &keepers.BTCLightClientKeeper); err != nil {
panic(err)
}

return mm.RunMigrations(ctx, cfg, fromVM)
}

0 comments on commit c27b89e

Please sign in to comment.