Skip to content

Commit 1cefc47

Browse files
committed
use is_one instead of Fqk::one
1 parent ecb874f commit 1cefc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multilinear_pc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl<E: PairingEngine> MultilinearPC<E> {
226226
E::G2Prepared::from(vk.h),
227227
));
228228

229-
E::product_of_pairings(pairings.iter()) == E::Fqk::one()
229+
E::product_of_pairings(pairings.iter()).is_one()
230230
}
231231
}
232232

0 commit comments

Comments
 (0)