diff --git a/lib/crypto/point.js b/lib/crypto/point.js index 2e4b9d1..2bac5c8 100644 --- a/lib/crypto/point.js +++ b/lib/crypto/point.js @@ -49,7 +49,7 @@ Point.fromX = function fromX(odd, x){ * @returns {Point} An instance of the base point. */ Point.getG = function getG() { - return Point(ec.curve.g.getX(), ec.curve.g.getY()); + return ec.curve.g; }; /**