Browse Source

Using private key for testing neuterization

To test removing private information, it's probably better to start with them :)
hk-custom-address
Karel Bilek 9 years ago
parent
commit
3df2976e2c
  1. 2
      test/hdnode.js

2
test/hdnode.js

@ -240,7 +240,7 @@ describe('HDNode', function () {
var f = fixtures.valid[0]
it('strips all private information', function () {
var hd = HDNode.fromBase58(f.master.base58, NETWORKS_LIST)
var hd = HDNode.fromBase58(f.master.base58Priv, NETWORKS_LIST)
var hdn = hd.neutered()
assert.strictEqual(hdn.keyPair.d, undefined)

Loading…
Cancel
Save