From d1ad3fdbad00aae07379b91e5a52ea2890c46c65 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Mon, 1 Nov 2021 16:53:48 -0700 Subject: [PATCH] fix: generator value --- src/curve/secp256k1_curve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curve/secp256k1_curve.rs b/src/curve/secp256k1_curve.rs index 21340c64..89497a7d 100644 --- a/src/curve/secp256k1_curve.rs +++ b/src/curve/secp256k1_curve.rs @@ -14,7 +14,7 @@ impl Curve for Secp256K1 { type ScalarField = Secp256K1Scalar; const A: Secp256K1Base = Secp256K1Base::ZERO; - const B: Secp256K1Base = Secp256K1Base::ONE; + const B: Secp256K1Base = Secp256K1Base([7, 0, 0, 0]); const GENERATOR_AFFINE: AffinePoint = AffinePoint { x: SECP256K1_GENERATOR_X, y: SECP256K1_GENERATOR_Y,