Merge pull request #3 from PeterTheOne/patch-2

fixed crash
This commit is contained in:
phahulin 2019-09-09 17:10:47 +03:00 committed by GitHub
commit 4804e74f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ Node.prototype.getHistory = function (range)
var self = this;
var history = [];
var interv = {};
var interv = [];
console.time('=H=', 'his', 'Got history in');
@ -685,7 +685,7 @@ Node.prototype.getHistory = function (range)
if (err) {
console.error('his', 'history fetch failed:', err);
results = false;
results = [];
}
else
{