Skip to content

Commit d61f474

Browse files
sainoep-offtermatt
andauthored
Update tests/integration/double_vote.go
Co-authored-by: Philip Offtermatt <[email protected]>
1 parent 7440b43 commit d61f474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/double_vote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func (s *CCVTestSuite) TestHandleConsumerDoubleVotingSlashesUndelegationsAndRele
343343
currentBalance := sdk.NewDecFromInt(unb.Balance)
344344
s.Require().True(initialBalance.Sub(initialBalance.Mul(slashFraction)).Equal(currentBalance))
345345
}
346-
346+
// check that redelegations are slashed
347347
delegations := s.providerApp.GetTestStakingKeeper().Delegation(s.providerCtx(), delAddr, validator2.GetOperator())
348348
s.Require().Equal(delegations.GetShares(), delShares.Add(redelShares).Sub(redelShares.Mul(slashFraction)))
349349
})

0 commit comments

Comments
 (0)