Lint FROST

Corrects ertrors introduced a couple commits ago as well.
This commit is contained in:
Luke Parker
2022-08-13 08:50:30 -04:00
parent 454b73aec3
commit 280fc441a7
4 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ use std::{marker::PhantomData, collections::HashMap};
use rand_core::{RngCore, CryptoRng};
use group::{ff::Field, GroupEncoding};
use group::{ff::Field, Group, GroupEncoding};
use crate::{
Curve, FrostKeys,
@@ -29,7 +29,7 @@ pub(crate) fn core_verify<R: RngCore + CryptoRng, C: Curve>(rng: &mut R) {
assert!(!schnorr::verify::<C>(
C::generator() * C::F::random(&mut *rng),
C::F::random(rng),
&SchnorrSignature { R: C::identity(), s: C::F::zero() }
&SchnorrSignature { R: C::G::identity(), s: C::F::zero() }
));
}