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.
This commit is contained in:
parent
be37f5e37f
commit
43f288d205
|
@ -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');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue