From 1fdfe81ac8c2e66719a95ba66a37b9ca06e52e2f Mon Sep 17 00:00:00 2001 From: Srinivas Baride Date: Fri, 1 Apr 2022 02:15:04 +0530 Subject: [PATCH] Modify block height comparision for begin blocker --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 951d4321..8cfda44c 100644 --- a/app.go +++ b/app.go @@ -556,7 +556,7 @@ func NewApp( func (a *App) Name() string { return a.BaseApp.Name() } func (a *App) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { - if ctx.BlockHeight() == 5_140_000 { + if ctx.BlockHeight() >= 5_140_000 { a.moduleManager.SetOrderBeginBlockers( upgradetypes.ModuleName, capabilitytypes.ModuleName, customminttypes.ModuleName, minttypes.ModuleName, distributiontypes.ModuleName, slashingtypes.ModuleName,