From 3df2976e2c729b0e6f7f323bcae27a095aadf958 Mon Sep 17 00:00:00 2001 From: Karel Bilek Date: Fri, 5 Feb 2016 20:12:54 +0100 Subject: [PATCH] Using private key for testing neuterization To test removing private information, it's probably better to start with them :) --- test/hdnode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hdnode.js b/test/hdnode.js index afa9887..0335682 100644 --- a/test/hdnode.js +++ b/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)