diff options
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 15244a8f0c..f8802e850c 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1346,8 +1346,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result, SMARTLIST_FOREACH(digests, char *, cp, { cached_dir_t *cached; - tor_strupper(cp); - if (router_fingerprint_is_me(cp) && + if (router_digest_is_me(cp) && get_options()->AuthoritativeDir && the_v2_networkstatus_is_dirty && the_v2_networkstatus_is_dirty + DIR_REGEN_SLACK_TIME < time(NULL)) |