From 7528da6c4b908c93bd7ce23f9cd3ea1df962185c Mon Sep 17 00:00:00 2001 From: Amit Yadav Date: Fri, 14 Jun 2024 12:06:27 +0530 Subject: [PATCH] test change --- x/leveragelp/keeper/begin_blocker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/leveragelp/keeper/begin_blocker.go b/x/leveragelp/keeper/begin_blocker.go index 794531ae6..2bdda68e2 100644 --- a/x/leveragelp/keeper/begin_blocker.go +++ b/x/leveragelp/keeper/begin_blocker.go @@ -13,7 +13,7 @@ import ( func (k Keeper) BeginBlocker(ctx sdk.Context) { // check if epoch has passed then execute - epochLength := k.GetEpochLength(ctx) + epochLength := k.GetEpochLength(ctx) + 1 epochPosition := k.GetEpochPosition(ctx, epochLength) if epochPosition == 0 { // if epoch has passed