From 124ad21a35f03339b4c04c6b271ab167bea8e154 Mon Sep 17 00:00:00 2001 From: swasilyev Date: Thu, 31 Aug 2023 14:30:02 +0200 Subject: [PATCH] fixes final exp test for the CP curve --- test-templates/src/pairing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-templates/src/pairing.rs b/test-templates/src/pairing.rs index c6f395144..755ee22f7 100644 --- a/test-templates/src/pairing.rs +++ b/test-templates/src/pairing.rs @@ -55,7 +55,7 @@ macro_rules! test_pairing { for _ in 0..ITERATIONS { let rng = &mut test_rng(); let fp_ext = <$Pairing as Pairing>::TargetField::rand(rng); - let gt = <$Pairing>::final_exponentiation(MillerLoopOutput(fp_ext)) + let gt = <$Pairing as Pairing>::final_exponentiation(MillerLoopOutput(fp_ext)) .unwrap() .0; let r = <$Pairing as Pairing>::ScalarField::MODULUS;