Skip to content

Commit

Permalink
make lint-strict
Browse files Browse the repository at this point in the history
  • Loading branch information
fragwuerdig committed Sep 16, 2023
1 parent 6a5cc3a commit 1fe98e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/upgrades/forks/forks.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func runForkLogicVersionMapEnable(ctx sdk.Context, keppers *keepers.AppKeepers,
}

func forkLogicFixMinCommission(ctx sdk.Context, keepers *keepers.AppKeepers, mm *module.Manager) {
var MinCommissionRate = sdk.NewDecWithPrec(5, 2)
MinCommissionRate := sdk.NewDecWithPrec(5, 2)

space := keepers.ParamsKeeper.Subspace(stakingtypes.StoreKey)
if space.HasKeyTable() {
Expand Down Expand Up @@ -98,17 +98,14 @@ func forkLogicFixMinCommission(ctx sdk.Context, keepers *keepers.AppKeepers, mm
keepers.StakingKeeper.SetValidator(ctx, val)

return false

})

}

func runForkLogicFixMinCommission(ctx sdk.Context, keepers *keepers.AppKeepers, mm *module.Manager) {
if ctx.ChainID() != core.ColumbusChainID {
return
}
runForkLogicFixMinCommission(ctx, keepers, mm)

}

func runForkLogicFixMinCommissionRebel(ctx sdk.Context, keepers *keepers.AppKeepers, mm *module.Manager) {
Expand Down

0 comments on commit 1fe98e3

Please sign in to comment.