Commit 941626d2 authored by Stephane Glondu's avatar Stephane Glondu

Check shuffles only if ballots are present

parent 655b5876
Pipeline #73583 failed with stages
in 17 minutes and 29 seconds
......@@ -262,10 +262,9 @@ module Make (P : PARSED_PARAMS) : S = struct
| None -> ignore (Lazy.force pks)
);
(match Lazy.force ballots_check with
| Some () -> ()
| Some () -> assert (Lazy.force shuffles_check)
| None -> print_msg "W: no ballots to check"
);
assert (Lazy.force shuffles_check);
(match get_result () with
| Some result ->
let result = election_result_of_string G.read result in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment