Corrected base point param assignment

This commit is contained in:
Rich Morgan 2014-09-25 15:54:06 -04:00
parent 8d0c4eb747
commit 6c666724bb

View File

@ -114,8 +114,8 @@ class PublicKey extends Key
}
$point = new Point(
'0x'.substr(Secp256k1::G, 0, 62),
'0x'.substr(Secp256k1::G, 62, 62)
'0x'.substr(Secp256k1::G, 2, 64),
'0x'.substr(Secp256k1::G, 66, 64)
);
$R = Gmp::doubleAndAdd(