Merge branch 'ticket40237_043_01' into ticket40237_044_01

This commit is contained in:
David Goulet
2021-01-12 10:54:31 -05:00
13 changed files with 144 additions and 89 deletions
+2 -1
View File
@@ -2154,7 +2154,8 @@ hs_service_callback(time_t now, const or_options_t *options)
/* We need to at least be able to build circuits and that we actually have
* a working network. */
if (!have_completed_a_circuit() || net_is_disabled() ||
networkstatus_get_live_consensus(now) == NULL) {
!networkstatus_get_reasonably_live_consensus(now,
usable_consensus_flavor())) {
goto end;
}