浏览代码

Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS

(Remove support for running without this method.)
Nick Mathewson 6 年之前
父节点
当前提交
2609a8be81
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/dirvote.c

+ 1 - 1
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) {