mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-01 08:12:14 +00:00
bls12_381: Remove unnecessary unit return values
This commit is contained in:
parent
f99ab768dc
commit
911d248b86
@ -311,15 +311,9 @@ impl From<G2Affine> for G2Prepared {
|
|||||||
let coeffs = addition_step(&mut self.cur, &self.base);
|
let coeffs = addition_step(&mut self.cur, &self.base);
|
||||||
self.coeffs.push(coeffs);
|
self.coeffs.push(coeffs);
|
||||||
}
|
}
|
||||||
fn square_output(_: Self::Output) -> Self::Output {
|
fn square_output(_: Self::Output) -> Self::Output {}
|
||||||
()
|
fn conjugate(_: Self::Output) -> Self::Output {}
|
||||||
}
|
fn one() -> Self::Output {}
|
||||||
fn conjugate(_: Self::Output) -> Self::Output {
|
|
||||||
()
|
|
||||||
}
|
|
||||||
fn one() -> Self::Output {
|
|
||||||
()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let is_identity = q.is_identity();
|
let is_identity = q.is_identity();
|
||||||
|
Loading…
Reference in New Issue
Block a user