Browse Source

Fix typo and remove unnecessary test

patch-2
Yemel Jardi 10 years ago
parent
commit
dfc32e6712
  1. 8
      test/privatekey.js

8
test/privatekey.js

@ -35,18 +35,12 @@ describe('PrivateKey', function() {
var a = new PrivateKey(Networks.testnet);
should.exist(a);
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);
should.exist(a);
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() {

Loading…
Cancel
Save