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
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
2 changed files with 3 additions and 2 deletions

View file

@ -26,8 +26,7 @@ transcript = { path = "../../crypto/transcript", optional = true }
frost = { path = "../../crypto/frost", optional = true }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", optional = true }
# Locked to this specific patch version due to a bug we compensate for
monero = { version = "0.16.0", features = ["experimental"] }
monero = { version = "0.16", features = ["experimental"] }
hex = "0.4"
serde = { version = "1.0", features = ["derive"] }

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()
);
}