diff --git a/module/x/gravity/abci.go b/module/x/gravity/abci.go index 7c9ddc0ff..db34ca2dd 100644 --- a/module/x/gravity/abci.go +++ b/module/x/gravity/abci.go @@ -26,10 +26,10 @@ func createBatch(ctx sdk.Context, k keeper.Keeper) { return } - //create batches every 60 blocks + //create batches every 120 blocks bh := uint64(ctx.BlockHeight()) - if bh%60 != 0 { - ctx.Logger().Info(fmt.Sprintf("Next automatic batch will be created at height %d", bh+60-(bh%60)), "module", types.ModuleName, "action", "auto creation of batches") + if bh%120 != 0 { + ctx.Logger().Info(fmt.Sprintf("Next automatic batch will be created at height %d", bh+120-(bh%120)), "module", types.ModuleName, "action", "auto creation of batches") return }