diff options
author | teor <teor2345@gmail.com> | 2017-11-22 02:27:28 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2017-11-22 02:27:28 +1100 |
commit | 03b18f62888dec3cfb59ce7caedea4cd20f9e365 (patch) | |
tree | f9c80c455f01c8cbb47786bd9d6cb42a87c94e6a /src/or/dirvote.c | |
parent | b1ab360eca6a1ebd82762d7a735848c25cf19db1 (diff) | |
download | tor-03b18f62888dec3cfb59ce7caedea4cd20f9e365.tar.gz tor-03b18f62888dec3cfb59ce7caedea4cd20f9e365.zip |
Fix a confusing comment about tie-breaking in compute_routerstatus_consensus()
Closes bug 24372.
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 6b806879a9..fa89653040 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -519,7 +519,7 @@ compute_routerstatus_consensus(smartlist_t *votes, int consensus_method, /* compare_vote_rs_() sorts the items by identity digest (all the same), * then by SD digest. That way, if we have a tie that the published_on - * date cannot tie, we use the descriptor with the smaller digest. + * date cannot break, we use the descriptor with the smaller digest. */ smartlist_sort(votes, compare_vote_rs_); SMARTLIST_FOREACH_BEGIN(votes, vote_routerstatus_t *, rs) { |