Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Sep 14, 2023
1 parent 59d8192 commit 31c090d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/double_vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (s *CCVTestSuite) TestHandleConsumerDoubleVotingSlashesUndelegations() {
// in order to perform a delegation we need to know the validator's `idx` (that might not be 0)
// loop through all validators to find the right `idx`
idx := 0
for i := 0; i <= len(s.providerChain.Vals.Validators); i = i + 1 {
for i := 0; i <= len(s.providerChain.Vals.Validators); i++ {
_, valAddr := s.getValByIdx(i)
if validator.OperatorAddress == valAddr.String() {
idx = i
Expand Down Expand Up @@ -311,4 +311,4 @@ func (s *CCVTestSuite) TestHandleConsumerDoubleVotingSlashesUndelegations() {
s.Require().True(initialBalance.Sub(initialBalance.Mul(slashFraction)).Equal(currentBalance))
}
})
}
}

0 comments on commit 31c090d

Please sign in to comment.