Browse Source

r15793@catbus: nickm | 2007-10-15 15:50:52 -0400
Do not set "have published consensus" to 1 after we recalculate timing.


svn:r11951

Nick Mathewson 16 years ago
parent
commit
516b913d5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/dirvote.c

+ 1 - 1
src/or/dirvote.c

@@ -1137,10 +1137,10 @@ dirvote_act(time_t now)
     log_notice(LD_DIR, "Time to publish the consensus and discard old votes");
     dirvote_publish_consensus();
     dirvote_clear_votes(0);
+    voting_schedule.have_published_consensus = 1;
     /* XXXX020 we will want to try again later if we haven't got enough
      * signatures yet. */
     dirvote_recalculate_timing(now);
-    voting_schedule.have_published_consensus = 1;
   }
 }