Browse Source

integration: fix HDNode search space

hk-custom-address
Daniel Cousens 10 years ago
parent
commit
18c8261cef
  1. 2
      test/integration/crypto.js

2
test/integration/crypto.js

@ -67,7 +67,7 @@ describe('bitcoinjs-lib (crypto)', function () {
serQP.copy(data, 0) serQP.copy(data, 0)
// search index space until we find it // 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) data.writeUInt32BE(i, 33)
// calculate I // calculate I

Loading…
Cancel
Save