Merge pull request #458 from bitcoinjs/intfix
integration: fix HDNode search space
This commit is contained in:
commit
a33ccd8743
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue