Params shouldn't be 0
(&self)
| 134 | |
| 135 | /// Params shouldn't be 0 |
| 136 | pub fn is_valid(&self) -> bool { |
| 137 | !self.P.is_zero() && !self.P_tilde.is_zero() |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | impl<E: Pairing> AsRef<E::G1Affine> for SetupParams<E> { |
no test coverage detected