aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-09 15:10:27 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-22 20:00:47 -0400
commit2609a8be81c744f1c3568c83cce035836ec50758 (patch)
tree5f577323878e03524da1fc8c9878d719f3ef1824 /src/or/dirvote.c
parent5f90d28c01960921ad1cd680ba7e1275a44345c0 (diff)
downloadtor-2609a8be81c744f1c3568c83cce035836ec50758.tar.gz
tor-2609a8be81c744f1c3568c83cce035836ec50758.zip
Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS
(Remove support for running without this method.)
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 25ca961fa6..f3b8a19f00 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1504,7 +1504,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
tor_free(flaglist);
}
- if (consensus_method >= MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS) {
+ {
int num_dirauth = get_n_authorities(V3_DIRINFO);
int idx;
for (idx = 0; idx < 4; ++idx) {