aboutsummaryrefslogtreecommitdiff
path: root/src/or/shared_random_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/shared_random_common.c')
-rw-r--r--src/or/shared_random_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/shared_random_common.c b/src/or/shared_random_common.c
index 810b8b377a..9d47e3a49e 100644
--- a/src/or/shared_random_common.c
+++ b/src/or/shared_random_common.c
@@ -59,10 +59,10 @@ get_start_time_of_current_round(void)
const or_options_t *options = get_options();
int voting_interval = get_voting_interval();
/* First, get the start time of the next round */
- time_t next_start = dirvote_get_next_valid_after_time();
+ time_t next_start = voting_schedule_get_next_valid_after_time();
/* Now roll back next_start by a voting interval to find the start time of
the current round. */
- time_t curr_start = dirvote_get_start_of_next_interval(
+ time_t curr_start = voting_schedule_get_start_of_next_interval(
next_start - voting_interval - 1,
voting_interval,
options->TestingV3AuthVotingStartOffset);