Skip to content

Commit

Permalink
remove rand generator for ballot
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Feb 13, 2024
1 parent 064c3cf commit fe22653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/emissions/client/tests/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func RandomBallotGenerator(numberOfBallots int, voterList []string) []*observerT
ObservationType: observerTypes.ObservationType_InBoundTx,
BallotThreshold: sdk.MustNewDecFromStr("0.66"),
// #nosec G404 randomness used for testing
BallotStatus: ballotStatus[rand.Intn(2)],
BallotStatus: ballotStatus[i%2],
BallotCreationHeight: 0,
}
}
Expand Down

0 comments on commit fe22653

Please sign in to comment.