summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-09 15:07:51 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-22 20:00:47 -0400
commit5f90d28c01960921ad1cd680ba7e1275a44345c0 (patch)
tree08e99390bd1cc016b47d6fa4ab01a763abf18f56 /src/or/routerparse.c
parent73c9c16faab299b483716c1b8e76c433282d3d50 (diff)
downloadtor-5f90d28c01960921ad1cd680ba7e1275a44345c0.tar.gz
tor-5f90d28c01960921ad1cd680ba7e1275a44345c0.zip
Remove MIN_METHOD_FOR_{SHARED_RANDOM,EXCLUDING_INVALID_NODES}
Also remove client detection for pre-EXCLUDING_INVALID_NODES consensuses, and a test for that detection.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 79499f2e6f..1834cfad24 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2743,8 +2743,7 @@ routerstatus_parse_entry_from_string(memarea_t *area,
/* These are implied true by having been included in a consensus made
* with a given method */
rs->is_flagged_running = 1; /* Starting with consensus method 4. */
- if (consensus_method >= MIN_METHOD_FOR_EXCLUDING_INVALID_NODES)
- rs->is_valid = 1;
+ rs->is_valid = 1; /* Starting with consensus method 24. */
}
{
const char *protocols = NULL, *version = NULL;