diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-05-05 18:55:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-05-05 18:55:19 -0400 |
commit | a1d7f7ea503f2f739953d6a25ebb5d93981604be (patch) | |
tree | 87e4f9208f689bf57203ee302cb0002ea4e7ff46 /src | |
parent | 139d367f297575a59b96b64a633ed2b6988d60e1 (diff) | |
download | tor-a1d7f7ea503f2f739953d6a25ebb5d93981604be.tar.gz tor-a1d7f7ea503f2f739953d6a25ebb5d93981604be.zip |
Use a clearer idiom for node identity in router_counts_toward_thresholds
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 16f297a80a..8f6d9ec438 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1898,7 +1898,7 @@ router_counts_toward_thresholds(const node_t *node, time_t now, } return node->ri && router_is_active(node->ri, node, now) && - !digestmap_get(omit_as_sybil, node->ri->cache_info.identity_digest) && + !digestmap_get(omit_as_sybil, node->identity) && (dirserv_get_credible_bandwidth_kb(node->ri) >= min_bw_kb) && (have_mbw || !require_mbw); } |