Skip to content
Snippets Groups Projects
Commit a5bc0857 authored by Nick Mathewson's avatar Nick Mathewson :game_die: Committed by George Kadianakis
Browse files

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.
parent 9a7b10e2
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment