bls12_381: Remove unnecessary unit return values

This commit is contained in:
Jack Grigg 2020-01-14 21:06:10 -05:00
parent f99ab768dc
commit 911d248b86
1 changed files with 3 additions and 9 deletions

View File

@ -311,15 +311,9 @@ impl From<G2Affine> for G2Prepared {
let coeffs = addition_step(&mut self.cur, &self.base);
self.coeffs.push(coeffs);
}
fn square_output(_: Self::Output) -> Self::Output {
()
}
fn conjugate(_: Self::Output) -> Self::Output {
()
}
fn one() -> Self::Output {
()
}
fn square_output(_: Self::Output) -> Self::Output {}
fn conjugate(_: Self::Output) -> Self::Output {}
fn one() -> Self::Output {}
}
let is_identity = q.is_identity();