is_identity -> is_zero (#125)

This commit is contained in:
Pratyush Mishra
2022-09-09 11:07:42 -07:00
committed by GitHub
parent f74378c017
commit 55a092a6c7
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ impl<'a> From<&'a G1Projective> for G1Prepared {
impl G1Prepared {
pub fn is_zero(&self) -> bool {
self.0.is_identity()
self.0.is_zero()
}
}

View File

@@ -41,7 +41,7 @@ impl<'a> From<&'a G2Projective> for G2Prepared {
impl G2Prepared {
pub fn is_zero(&self) -> bool {
self.0.is_identity()
self.0.is_zero()
}
}