mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 12:54:35 +00:00
Drop the Monero patch version spec now that it's no longer relevant
Also adds a comment to FROST.
This commit is contained in:
parent
5ca0945cbf
commit
4ddb838a5a
2 changed files with 3 additions and 2 deletions
|
@ -26,8 +26,7 @@ transcript = { path = "../../crypto/transcript", optional = true }
|
||||||
frost = { path = "../../crypto/frost", optional = true }
|
frost = { path = "../../crypto/frost", optional = true }
|
||||||
dalek-ff-group = { path = "../../crypto/dalek-ff-group", 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", features = ["experimental"] }
|
||||||
monero = { version = "0.16.0", features = ["experimental"] }
|
|
||||||
|
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|
|
@ -65,6 +65,8 @@ pub fn key_gen<R: RngCore + CryptoRng, C: Curve>(
|
||||||
for (l, machine) in machines.iter_mut() {
|
for (l, machine) in machines.iter_mut() {
|
||||||
secret_shares.insert(
|
secret_shares.insert(
|
||||||
*l,
|
*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()
|
machine.generate_secret_shares(rng, clone_without(&commitments, l)).unwrap()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue