diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-12 17:43:09 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-12 17:43:09 +0000 |
commit | de08405bdb1e00c7d70ad2ec5719a5b776362657 (patch) | |
tree | fabd46a384392c3447d4fb2e4ed74e4a30f09051 | |
parent | 8fdfdc5bbb0575d94603d4843ca85b15b3e63203 (diff) | |
download | tor-de08405bdb1e00c7d70ad2ec5719a5b776362657.tar.gz tor-de08405bdb1e00c7d70ad2ec5719a5b776362657.zip |
r15721@catbus: nickm | 2007-10-12 13:30:48 -0400
Base vote timing only on a currently live consensus.
svn:r11896
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 9625dca058..46266e0ad6 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -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)); |