From 43f288d205e1811d351e064fa37b7d9a0b7a91b5 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Sat, 9 Aug 2014 23:19:24 -0700 Subject: [PATCH] remove obsolete test this test was relevant for a bug in the C++ code of bitcore, eckey.cc, which no longer exists in bitcore, much less privsec. --- test/test.bip32.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/test.bip32.js b/test/test.bip32.js index a0d32fb..6f08d8e 100644 --- a/test/test.bip32.js +++ b/test/test.bip32.js @@ -299,21 +299,4 @@ describe('BIP32', function() { }); }); - describe('derivation in linux', function() { - it('should not be non-deterministic', function(){ - var hp = 'm/45\''; - var sp = 'm/45'; - - var hk = new BIP32('tprv8ZgxMBicQKsPdSF1avR6mXyDj5Uv1XY2UyUHSDpAXQ5TvPN7prGeDppjy4562rBB9gMMAhRfFdJrNDpQ4t69kkqHNEEen3PX1zBJqSehJDH'); - //hk.derive(sp).extendedPrivateKeyString().should.equal( - // 'tprv8cSDV3fVD6wqGoLKykTPhRwWLiwD6WBHvYHYkFvp8PJvApm7HCfY9HH9P6Q6iPaCGNsU3LEqh7iJMN7478TqjkLFnf71f9zBXXd7XoiL7dw'); - //hk.derive(sp).extendedPrivateKeyString().should.equal(hk.derive(sp).extendedPrivateKeyString()); - var epk1 = hk.derive(hp).extendedPrivateKeyString(); - var epk2 = hk.derive(hp).extendedPrivateKeyString(); - epk1.should.equal(epk2); - //hk.derive(hp).extendedPrivateKeyString().should.equal( - // 'tprv8cSDV3fdYmUoTNGu4xRTm6qh3DPrNxPZzukM5FPdWoa9m22ALFJVGbjnU7J4TC5t3MJp293GtZWssAPuV1PNWGjXavQTnXy9xW6Lee2X6rd'); - }); - }); - });