Drop the Monero patch version spec now that it's no longer relevant

Also adds a comment to FROST.
This commit is contained in:
Luke Parker
2022-05-26 03:52:45 -04:00
parent 5ca0945cbf
commit 4ddb838a5a
2 changed files with 3 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ pub fn key_gen<R: RngCore + CryptoRng, C: Curve>(
for (l, machine) in machines.iter_mut() {
secret_shares.insert(
*l,
// clone_without isn't necessary, as this machine's own data will be inserted without
// conflict, yet using it ensures the machine's own data is actually inserted as expected
machine.generate_secret_shares(rng, clone_without(&commitments, l)).unwrap()
);
}