mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Merge commit 'sebastian/bug2663' into maint-0.2.2
This commit is contained in:
commit
600ad7bf8d
1 changed files with 1 additions and 1 deletions
|
@ -3080,7 +3080,7 @@ dirvote_compute_consensuses(void)
|
|||
n_votes = smartlist_len(pending_vote_list);
|
||||
if (n_votes <= n_voters/2) {
|
||||
log_warn(LD_DIR, "We don't have enough votes to generate a consensus: "
|
||||
"%d of %d", n_votes, n_voters/2);
|
||||
"%d of %d", n_votes, n_voters/2+1);
|
||||
goto err;
|
||||
}
|
||||
tor_assert(pending_vote_list);
|
||||
|
|
Loading…
Add table
Reference in a new issue