From 6b95b14a94c4cbb3089f58be1a02435d54831efd Mon Sep 17 00:00:00 2001 From: zhenfei Date: Fri, 20 May 2022 13:31:40 -0400 Subject: [PATCH] use is_one instead of Fqk::one --- src/multilinear_pc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multilinear_pc/mod.rs b/src/multilinear_pc/mod.rs index 0b922a8c..a0fbd923 100644 --- a/src/multilinear_pc/mod.rs +++ b/src/multilinear_pc/mod.rs @@ -225,7 +225,7 @@ impl MultilinearPC { E::G2Prepared::from(verifier_param.h), )); - E::product_of_pairings(pairings.iter()) == E::Fqk::one() + E::product_of_pairings(pairings.iter()).is_one() } }