Skip to content

Commit 6227034

Browse files
authored
Always stop once the majority is hit (#50) @tallen42
* Always stop at majority * End is always true if finalResult is calculated
1 parent 9aa7847 commit 6227034

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

database/poll.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ func (poll *Poll) GetResult(ctx context.Context) ([]map[string]int, error) {
312312
// In that case, it's a tie?
313313
if val != minVote {
314314
end = false
315-
break
316315
}
317316
}
318317
if end {

0 commit comments

Comments
 (0)