From 4ddb838a5a2a8f6e1cb110696d97be23cf0e1a67 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Thu, 26 May 2022 03:52:45 -0400 Subject: [PATCH] Drop the Monero patch version spec now that it's no longer relevant Also adds a comment to FROST. --- coins/monero/Cargo.toml | 3 +-- crypto/frost/src/tests/mod.rs | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coins/monero/Cargo.toml b/coins/monero/Cargo.toml index 9ca1439e..9c71c58c 100644 --- a/coins/monero/Cargo.toml +++ b/coins/monero/Cargo.toml @@ -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"] } diff --git a/crypto/frost/src/tests/mod.rs b/crypto/frost/src/tests/mod.rs index eb747d31..08e2cd24 100644 --- a/crypto/frost/src/tests/mod.rs +++ b/crypto/frost/src/tests/mod.rs @@ -65,6 +65,8 @@ pub fn key_gen( 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() ); }