diff --git a/packages/bitcore-lib-ltc/lib/crypto/point.js b/packages/bitcore-lib-ltc/lib/crypto/point.js index 6046ed3618e..e466b69a718 100644 --- a/packages/bitcore-lib-ltc/lib/crypto/point.js +++ b/packages/bitcore-lib-ltc/lib/crypto/point.js @@ -73,6 +73,7 @@ Point.getN = function getN() { return new BN(ec.curve.n.toArray()); }; +if (!Point.prototype._getX) Point.prototype._getX = Point.prototype.getX; /** @@ -85,6 +86,7 @@ Point.prototype.getX = function getX() { return new BN(this._getX().toArray()); }; +if (!Point.prototype._getY) Point.prototype._getY = Point.prototype.getY; /**