Skip to content

Commit f9145a8

Browse files
committed
typo fix
1 parent 4d75ef5 commit f9145a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

agreement/asyncVoteVerifier_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func generateTestVotes(onlyBadSigs bool, errChan chan<- error, count, eqCount in
240240
errType = 0
241241
} else {
242242
errType = nextErrType
243-
nextErrType = (nextErrType + 1) % (vg.invlideVoteOptions() - 1)
243+
nextErrType = (nextErrType + 1) % (vg.invalidVoteOptions() - 1)
244244
}
245245
}
246246
v, err := vg.getTestVote(errType)
@@ -395,8 +395,8 @@ func (vg *testVoteGenerator) getTestVote(errType int) (v *unVoteTest, err error)
395395
return v, nil
396396
}
397397

398-
// invlideVoteOptions returns the number of invalide vote options produced
399-
func (vg *testVoteGenerator) invlideVoteOptions() int {
398+
// invalidVoteOptions returns the number of invalide vote options produced
399+
func (vg *testVoteGenerator) invalidVoteOptions() int {
400400
return 9
401401
}
402402

0 commit comments

Comments
 (0)