Merge pull request #260 from mxjoe/patch-3

Fix longRunner error in local_comms.js
master
Snipa22 6 years ago committed by GitHub
commit db36b8b848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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){

Loading…
Cancel
Save