Update and remove unused dependencies

This commit is contained in:
Luke Parker
2023-03-07 03:06:46 -05:00
parent d36fc026dd
commit 0e8c55e050
15 changed files with 35 additions and 52 deletions

View File

@@ -11,10 +11,7 @@ use zeroize::{Zeroize, Zeroizing};
use transcript::Transcript;
use group::{
ff::{Field, PrimeField},
GroupEncoding,
};
use group::{ff::PrimeField, GroupEncoding};
use multiexp::BatchVerifier;
use crate::{
@@ -198,6 +195,8 @@ impl<C: Curve> Writable for SignatureShare<C> {
#[cfg(any(test, feature = "tests"))]
impl<C: Curve> SignatureShare<C> {
pub(crate) fn invalidate(&mut self) {
use group::ff::Field;
self.0 += C::F::one();
}
}