From 9922e91749d15fa1da41288a30a0436c87d8c136 Mon Sep 17 00:00:00 2001 From: duguorong Date: Fri, 22 Dec 2023 09:51:59 +0800 Subject: [PATCH] chore: fix the type --- src/secp256k1/curve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/secp256k1/curve.rs b/src/secp256k1/curve.rs index d6e3f3e2..3390138c 100644 --- a/src/secp256k1/curve.rs +++ b/src/secp256k1/curve.rs @@ -270,7 +270,7 @@ pub(crate) fn iso_map_secp256k1(rp: IsoSecp256k1) -> Secp256k1 { let x = x_num * x_den.invert().unwrap(); let y = y * (y_num * y_den.invert().unwrap()); - Secp256k1::new_jacobian(x, y, ::Base::ONE).unwrap() + Secp256k1::new_jacobian(x, y, Fp::ONE).unwrap() } #[cfg(test)]