r15721@catbus: nickm | 2007-10-12 13:30:48 -0400

Base vote timing only on a currently live consensus.


svn:r11896
This commit is contained in:
Nick Mathewson 2007-10-12 17:43:09 +00:00
parent 8fdfdc5bbb
commit de08405bdb

View File

@ -1066,7 +1066,7 @@ dirvote_recalculate_timing(time_t now)
int interval, vote_delay, dist_delay;
time_t start;
time_t end;
networkstatus_vote_t *consensus = networkstatus_get_latest_consensus();
networkstatus_vote_t *consensus = networkstatus_get_live_consensus(now);
memset(&voting_schedule, 0, sizeof(voting_schedule));