Skip to content

Commit

Permalink
Update x/slashing/keeper/keeper_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored May 18, 2022
1 parent 80dd3ef commit cb9ba34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/slashing/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cb9ba34

Please sign in to comment.