Skip to content

Commit

Permalink
frost-core: remove unneeded code (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Jan 15, 2025
1 parent 595ee33 commit 7afd19f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frost-core/src/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,7 @@ pub fn generate_with_dealer<C: Ciphersuite, R: RngCore + CryptoRng>(
identifiers: IdentifierList<C>,
rng: &mut R,
) -> Result<(BTreeMap<Identifier<C>, SecretShare<C>>, PublicKeyPackage<C>), Error<C>> {
let mut bytes = [0; 64];
rng.fill_bytes(&mut bytes);

let key = SigningKey::new(rng);

split(&key, max_signers, min_signers, identifiers, rng)
}

Expand Down

0 comments on commit 7afd19f

Please sign in to comment.