Merge branch 'maint-0.4.5'

This commit is contained in:
George Kadianakis
2021-01-12 18:05:32 +02:00
13 changed files with 144 additions and 89 deletions
+2 -1
View File
@@ -2155,7 +2155,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;
}