fix: generator value

This commit is contained in:
Nicholas Ward 2021-11-01 16:53:48 -07:00
parent 0e1f0c5562
commit d1ad3fdbad

View File

@ -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<Self> = AffinePoint {
x: SECP256K1_GENERATOR_X,
y: SECP256K1_GENERATOR_Y,