From 3407fd0e44378df05ee566f33d14eb18da4f821d Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Thu, 23 Nov 2023 12:22:28 -0300 Subject: [PATCH] add comment --- tests/frost_redpallas.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/frost_redpallas.rs b/tests/frost_redpallas.rs index 7cb33e7..1843eff 100644 --- a/tests/frost_redpallas.rs +++ b/tests/frost_redpallas.rs @@ -82,6 +82,8 @@ fn check_deserialize_non_canonical() { fn check_even_y_frost_core() { let mut rng = thread_rng(); + // Since there is a 50% chance of the public key having an odd Y (which + // we need to actually test), loop until we get an odd Y. loop { let max_signers = 5; let min_signers = 3;