From e21939bad5708ad978555e095a89d2cbb996dd2f Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 10 Jun 2014 18:36:00 +1000 Subject: [PATCH] ecpubkey: removed unnecessary alias --- test/ecpubkey.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/ecpubkey.js b/test/ecpubkey.js index 9cd7a22..62609ef 100644 --- a/test/ecpubkey.js +++ b/test/ecpubkey.js @@ -7,7 +7,6 @@ var ECPubKey = require('../src/ecpubkey') var ecurve = require('ecurve') var curve = ecurve.getCurveByName('secp256k1') -var ECPoint = ecurve.Point var fixtures = require('./fixtures/ecpubkey.json') @@ -15,7 +14,7 @@ describe('ECPubKey', function() { var Q beforeEach(function() { - Q = ECPoint.fromAffine( + Q = ecurve.Point.fromAffine( curve, new BigInteger(fixtures.Q.x), new BigInteger(fixtures.Q.y)