mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
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:
parent
8fdfdc5bbb
commit
de08405bdb
@ -1066,7 +1066,7 @@ dirvote_recalculate_timing(time_t now)
|
|||||||
int interval, vote_delay, dist_delay;
|
int interval, vote_delay, dist_delay;
|
||||||
time_t start;
|
time_t start;
|
||||||
time_t end;
|
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));
|
memset(&voting_schedule, 0, sizeof(voting_schedule));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user