integration: fix HDNode search space

This commit is contained in:
Daniel Cousens 2015-09-08 16:29:41 +10:00
parent 25e824dd23
commit 18c8261cef

View file

@ -67,7 +67,7 @@ describe('bitcoinjs-lib (crypto)', function () {
serQP.copy(data, 0)
// search index space until we find it
for (var i = 0; i < bitcoin.HDNode.HIGHEST_BIT; ++i) {
for (var i = 0; i < 0x80000000; ++i) {
data.writeUInt32BE(i, 33)
// calculate I