ecpubkey: removed unnecessary alias
This commit is contained in:
parent
4ce9015f3b
commit
e21939bad5
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ var ECPubKey = require('../src/ecpubkey')
|
||||||
|
|
||||||
var ecurve = require('ecurve')
|
var ecurve = require('ecurve')
|
||||||
var curve = ecurve.getCurveByName('secp256k1')
|
var curve = ecurve.getCurveByName('secp256k1')
|
||||||
var ECPoint = ecurve.Point
|
|
||||||
|
|
||||||
var fixtures = require('./fixtures/ecpubkey.json')
|
var fixtures = require('./fixtures/ecpubkey.json')
|
||||||
|
|
||||||
|
@ -15,7 +14,7 @@ describe('ECPubKey', function() {
|
||||||
var Q
|
var Q
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
Q = ECPoint.fromAffine(
|
Q = ecurve.Point.fromAffine(
|
||||||
curve,
|
curve,
|
||||||
new BigInteger(fixtures.Q.x),
|
new BigInteger(fixtures.Q.x),
|
||||||
new BigInteger(fixtures.Q.y)
|
new BigInteger(fixtures.Q.y)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue