From de08405bdb1e00c7d70ad2ec5719a5b776362657 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 12 Oct 2007 17:43:09 +0000 Subject: r15721@catbus: nickm | 2007-10-12 13:30:48 -0400 Base vote timing only on a currently live consensus. svn:r11896 --- src/or/dirvote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3-54-g00ecf