diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-24 10:06:55 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-24 10:07:09 -0500 |
commit | 4fb6d8675f7fd70e788d42b52da3f044bce8ead2 (patch) | |
tree | 0150006e7209fb9f6fc2f8cc4aaec7c888340c08 /src/feature/dirauth/shared_random_state.c | |
parent | b7ba558f56da643857884761f6a52262c7aa51b8 (diff) | |
download | tor-4fb6d8675f7fd70e788d42b52da3f044bce8ead2.tar.gz tor-4fb6d8675f7fd70e788d42b52da3f044bce8ead2.zip |
Rename voting_schedule_*() functions.
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
voting_schedule_recalculate_timing dirauth_sched_recalculate_timing \
voting_schedule_get_start_of_next_interval voting_sched_get_start_of_interval_after \
voting_schedule_get_next_valid_after_time dirauth_sched_get_next_valid_after_time
Diffstat (limited to 'src/feature/dirauth/shared_random_state.c')
-rw-r--r-- | src/feature/dirauth/shared_random_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c index a61a1cd841..305c2cc94c 100644 --- a/src/feature/dirauth/shared_random_state.c +++ b/src/feature/dirauth/shared_random_state.c @@ -1330,7 +1330,7 @@ sr_state_init(int save_to_disk, int read_from_disk) /* We have a state in memory, let's make sure it's updated for the current * and next voting round. */ { - time_t valid_after = voting_schedule_get_next_valid_after_time(); + time_t valid_after = dirauth_sched_get_next_valid_after_time(); sr_state_update(valid_after); } return 0; |