[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS
commit 2609a8be81c744f1c3568c83cce035836ec50758
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Mon Apr 9 15:10:27 2018 -0400
Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS
(Remove support for running without this method.)
---
src/or/dirvote.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 25ca961fa..f3b8a19f0 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) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits