From cb9ba34d392c3bf737bf2b48453963119d3df942 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 18 May 2022 15:40:10 +0200 Subject: [PATCH] Update x/slashing/keeper/keeper_test.go --- x/slashing/keeper/keeper_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/slashing/keeper/keeper_test.go b/x/slashing/keeper/keeper_test.go index 799565009f22..08502fa89c94 100644 --- a/x/slashing/keeper/keeper_test.go +++ b/x/slashing/keeper/keeper_test.go @@ -237,7 +237,7 @@ func TestValidatorDippingInAndOut(t *testing.T) { // shouldn't be jailed/kicked yet tstaking.CheckValidator(valAddr, stakingtypes.Bonded, false) - // validator misses the an additional 500 more blocks, after the cooling off period of SignedBlockWindow (here 1000 blocks). + // validator misses an additional 500 more blocks, after the cooling off period of SignedBlockWindow (here 1000 blocks). latest := app.SlashingKeeper.SignedBlocksWindow(ctx) + height for ; height < latest+app.SlashingKeeper.MinSignedPerWindow(ctx); height++ { ctx = ctx.WithBlockHeight(height)