From c917ca9ef4104d213960c2dfde9bc4c65c32d79a Mon Sep 17 00:00:00 2001 From: duguorong Date: Mon, 18 Dec 2023 22:12:32 +0800 Subject: [PATCH] chore: fix the constants import (1) --- 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 ab8c8d50..d6e3f3e2 100644 --- a/src/secp256k1/curve.rs +++ b/src/secp256k1/curve.rs @@ -72,7 +72,7 @@ impl Secp256k1 { // Z = -11 (reference: ) // 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc24 #[allow(dead_code)] - const SSWU_Z: Fp = Fp([ + const SSWU_Z: Fp = Fp::from_raw([ 0xfffffffefffffc24, 0xffffffffffffffff, 0xffffffffffffffff,