From 18c8261cef04ada06c7524ea4f2b34a6c8455bc0 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 8 Sep 2015 16:29:41 +1000 Subject: [PATCH] integration: fix HDNode search space --- test/integration/crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/crypto.js b/test/integration/crypto.js index a494675..f34bd34 100644 --- a/test/integration/crypto.js +++ b/test/integration/crypto.js @@ -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