Skip to content

Commit

Permalink
fix: set dyncomm epoch lenght to 7days
Browse files Browse the repository at this point in the history
  • Loading branch information
fragwuerdig committed Nov 8, 2023
1 parent 56037e7 commit 4a5c588
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/dyncomm/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 4a5c588

Please sign in to comment.