diff options
author | David Goulet <dgoulet@torproject.org> | 2021-01-28 12:14:10 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-01-28 12:14:10 -0500 |
commit | c36c6b50575cc0db94e6e770f5b4d437c851ff59 (patch) | |
tree | f5b74ff508ed401ef086e159a47703663d86b2a3 /src/feature/nodelist/nodelist.c | |
parent | 0b49cacd6354063b94338058ff6b1ab52b03f3f1 (diff) | |
parent | dd5fbc1bd9d54d191240ac4e15b5324fb83a903d (diff) | |
download | tor-c36c6b50575cc0db94e6e770f5b4d437c851ff59.tar.gz tor-c36c6b50575cc0db94e6e770f5b4d437c851ff59.zip |
Merge branch 'maint-0.4.3' into release-0.4.3
Diffstat (limited to 'src/feature/nodelist/nodelist.c')
-rw-r--r-- | src/feature/nodelist/nodelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/nodelist.c b/src/feature/nodelist/nodelist.c index b7c7552561..6c7fd6d0f9 100644 --- a/src/feature/nodelist/nodelist.c +++ b/src/feature/nodelist/nodelist.c @@ -362,7 +362,7 @@ node_set_hsdir_index(node_t *node, const networkstatus_t *ns) tor_assert(node); tor_assert(ns); - if (!networkstatus_is_live(ns, now)) { + if (!networkstatus_consensus_reasonably_live(ns, now)) { static struct ratelim_t live_consensus_ratelim = RATELIM_INIT(30 * 60); log_fn_ratelim(&live_consensus_ratelim, LOG_INFO, LD_GENERAL, "Not setting hsdir index with a non-live consensus."); |