Restore type complexity checks in CI

Passes due to the remaining type complexity cases being explicitly allowed.
This commit is contained in:
Luke Parker
2022-12-01 11:52:52 -05:00
parent 0350cd803d
commit 0ca52a36ee
6 changed files with 10 additions and 2 deletions

View File

@@ -249,6 +249,7 @@ pub struct SecretShareMachine<C: Ciphersuite> {
impl<C: Ciphersuite> SecretShareMachine<C> {
/// Verify the data from the previous round (canonicity, PoKs, message authenticity)
#[allow(clippy::type_complexity)]
fn verify_r1<R: RngCore + CryptoRng>(
&mut self,
rng: &mut R,
@@ -286,6 +287,7 @@ impl<C: Ciphersuite> SecretShareMachine<C> {
/// Continue generating a key.
/// Takes in everyone else's commitments. Returns a HashMap of secret shares to be sent over
/// authenticated channels to their relevant counterparties.
#[allow(clippy::type_complexity)]
pub fn generate_secret_shares<R: RngCore + CryptoRng>(
mut self,
rng: &mut R,