Przeglądaj źródła

Merge branch 'bug23331_032_01_squashed'

Nick Mathewson 6 lat temu
rodzic
commit
56df123933
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/or/main.c

+ 2 - 1
src/or/main.c

@@ -2110,7 +2110,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()) {
+  if (!have_completed_a_circuit() || net_is_disabled() ||
+      networkstatus_get_live_consensus(now) == NULL) {
     goto end;
   }