summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-27 09:55:05 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-01 10:54:54 -0400
commit234e317ef17de111a48c8bb6dba9e84d346afe25 (patch)
tree2f41990ba2270608ea281923fadb775551368836 /src/or/networkstatus.c
parent6868398b69f9651ad4d15892f19470500ef031d3 (diff)
downloadtor-234e317ef17de111a48c8bb6dba9e84d346afe25.tar.gz
tor-234e317ef17de111a48c8bb6dba9e84d346afe25.zip
Ensure that voting is rescheduled whenever the schedule changes.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 5ca320d284..1267d9d6bc 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2001,6 +2001,7 @@ networkstatus_set_current_consensus(const char *consensus,
* object so we can use the timings in there needed by some subsystems
* such as hidden service and shared random. */
dirvote_recalculate_timing(options, now);
+ reschedule_dirvote(options);
nodelist_set_consensus(c);