We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696f2a1 commit ecb874fCopy full SHA for ecb874f
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