diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-15 20:23:23 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-15 20:23:23 -0500 |
commit | 3ca04aada2916ce6963358007476eccd851e67cc (patch) | |
tree | 9d4a2f68ea04c2a07f64b1d8c583a8e16db59c50 /src/or/dirserv.c | |
parent | 3d7bf98d13ffc090e5ba1b918f53668018690dce (diff) | |
parent | ad06e0b406f5b3dfaa28da0f03ede4b0f850d00f (diff) | |
download | tor-3ca04aada2916ce6963358007476eccd851e67cc.tar.gz tor-3ca04aada2916ce6963358007476eccd851e67cc.zip |
Merge remote-tracking branch 'valentecaio/t-25081'
Diffstat (limited to 'src/or/dirserv.c')
-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 0f47a83986..7ccce50bc5 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1423,7 +1423,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router, * tests aren't instant. If we haven't been running long enough, * trust the relay. */ - if (stats_n_seconds_working > + if (get_uptime() > get_options()->MinUptimeHidServDirectoryV2 * 1.1) uptime = MIN(rep_hist_get_uptime(router->cache_info.identity_digest, now), real_uptime(router, now)); |