summaryrefslogtreecommitdiff
path: root/src/or/dirauth/shared_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirauth/shared_random.c')
-rw-r--r--src/or/dirauth/shared_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirauth/shared_random.c b/src/or/dirauth/shared_random.c
index fcf134aa42..c149328935 100644
--- a/src/or/dirauth/shared_random.c
+++ b/src/or/dirauth/shared_random.c
@@ -1252,7 +1252,7 @@ sr_act_post_consensus(const networkstatus_t *consensus)
}
/* Prepare our state so that it's ready for the next voting period. */
- sr_state_update(dirvote_get_next_valid_after_time());
+ sr_state_update(voting_schedule_get_next_valid_after_time());
}
/* Initialize shared random subsystem. This MUST be called early in the boot