We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a1021 commit 3c3ccffCopy full SHA for 3c3ccff
src/kzg10/mod.rs
@@ -297,7 +297,7 @@ where
297
((-inner).into_affine().into(), vk.h.into()),
298
(proof.w.into(), inner2.into_affine().into()),
299
];
300
- let res = E::product_of_pairings(pairing_prod_inputs.iter()) == E::Fqk::one();
+ let res = E::product_of_pairings(pairing_prod_inputs.iter()).is_one();
301
end_timer!(check_time, || format!("Result: {}", res));
302
Ok(res)
303
}
0 commit comments