r15793@catbus: nickm | 2007-10-15 15:50:52 -0400

Do not set "have published consensus" to 1 after we recalculate timing.


svn:r11951
This commit is contained in:
Nick Mathewson 2007-10-15 19:51:14 +00:00
parent b14bb2d85c
commit 516b913d5c

View File

@ -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;
}
}