diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-26 11:33:03 -0500 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-03-03 14:35:01 +0200 |
commit | a5bc08579ff67a06441478016025eb4f3fd879b0 (patch) | |
tree | f56e4acd7baea9f9d65f426978648f084d2025c3 /.travis.yml | |
parent | 9a7b10e23fd7e3d1c7e0c8e14ffbea166ef3429a (diff) | |
download | tor-a5bc08579ff67a06441478016025eb4f3fd879b0.tar.gz tor-a5bc08579ff67a06441478016025eb4f3fd879b0.zip |
shared_random: Improve fallback for client no-live-consensus case.
In this case, when we're looking for the voting interval, we should
try looking at the _latest_ consensus if we have one. When we're
looking for the start of the current voting period, we can use our
existing fallback logic without complaint, since the voting interval
code will already have given us a reasonable voting interval, and we
want to have a round starting time based on the current time.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions