From 72cee4cadb2a4802a350ec29dc1093ae484b4a9d Mon Sep 17 00:00:00 2001 From: Till Ziegler Date: Thu, 9 Nov 2023 13:58:34 +0100 Subject: [PATCH] fix: last cleanup - prepare v2.3.0 (#381) --- x/dyncomm/abci.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x/dyncomm/abci.go b/x/dyncomm/abci.go index 47aa979fe..b745bc74e 100644 --- a/x/dyncomm/abci.go +++ b/x/dyncomm/abci.go @@ -16,9 +16,7 @@ import ( func EndBlocker(ctx sdk.Context, k keeper.Keeper) { defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyEndBlocker) - // Check epoch last block - // TODO: Change this to the appropriate period - if !core.IsPeriodLastBlock(ctx, 10*core.BlocksPerMinute) { + if !core.IsPeriodLastBlock(ctx, core.BlocksPerWeek) { return }