Skip to content

Commit

Permalink
Merge pull request Snipa22#260 from mxjoe/patch-3
Browse files Browse the repository at this point in the history
Fix longRunner error in local_comms.js
  • Loading branch information
Snipa22 authored Jan 19, 2018
2 parents 1361761 + 08084bf commit db36b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local_comms.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ function Database(){
debug("Scanning block: " + blockID);
let txn = global.database.env.beginTxn({readOnly: true});
let cursor = new global.database.lmdb.Cursor(txn, global.database.shareDB);
for (let found = (cursor.goToRange(blockID) === blockID); found; found = cursor.goToNextDup()) {
for (let found = (cursor.goToRange(parseInt(blockID)) === blockID); found; found = cursor.goToNextDup()) {
if (pplnsFound){
cursor.getCurrentBinary(function(key, data) { // jshint ignore:line
if (blockList.indexOf(key) === -1){
Expand Down

0 comments on commit db36b8b

Please sign in to comment.