Fix typo and remove unnecessary test
This commit is contained in:
parent
d5f76e8517
commit
dfc32e6712
@ -35,18 +35,12 @@ describe('PrivateKey', function() {
|
|||||||
var a = new PrivateKey(Networks.testnet);
|
var a = new PrivateKey(Networks.testnet);
|
||||||
should.exist(a);
|
should.exist(a);
|
||||||
should.exist(a.bn);
|
should.exist(a.bn);
|
||||||
var b = PrivateKey(Networks.testnet);
|
|
||||||
should.exist(b);
|
|
||||||
should.exist(b.bn);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create a new random testnet private key with an empty data', function() {
|
it('should create a new random testnet private key with empty data', function() {
|
||||||
var a = new PrivateKey(null, Networks.testnet);
|
var a = new PrivateKey(null, Networks.testnet);
|
||||||
should.exist(a);
|
should.exist(a);
|
||||||
should.exist(a.bn);
|
should.exist(a.bn);
|
||||||
var b = PrivateKey(null, Networks.testnet);
|
|
||||||
should.exist(b);
|
|
||||||
should.exist(b.bn);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create a private key from WIF string', function() {
|
it('should create a private key from WIF string', function() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user