Skip to content

Commit

Permalink
Fix warnings in bare check
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Aug 22, 2024
1 parent ba18b15 commit ac35a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cggmp21/src/key_share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use std::ops;
use std::sync::Arc;

use generic_ec::{Curve, NonZero, Point, SecretScalar};
use generic_ec::{Curve, NonZero, Point};
use paillier_zk::paillier_encryption_in_range as π_enc;
use paillier_zk::rug::{Complete, Integer};
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -346,7 +346,7 @@ impl<E: Curve, T: AsRef<IncompleteKeyShare<E>>> AnyKeyShare<E> for T {}
#[cfg(feature = "spof")]
pub fn reconstruct_secret_key<E: Curve>(
key_shares: &[impl AnyKeyShare<E>],
) -> Result<SecretScalar<E>, ReconstructError> {
) -> Result<generic_ec::SecretScalar<E>, ReconstructError> {
key_share::reconstruct_secret_key(key_shares)
}

Expand Down

0 comments on commit ac35a83

Please sign in to comment.