Skip to content
Permalink
Browse files

Merge pull request #3 from tomochain/revert-2-hotfix/results

Revert "Ensure `results` is always an array"
  • Loading branch information...
etienne-napoleone committed Jul 10, 2018
2 parents 15839fd + c2f01a8 commit 1f8021da370a600ec9e3a86fcd1706236a3de9d2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/node.js
@@ -586,7 +586,7 @@ Node.prototype.getHistory = function (range)
var self = this;

var history = [];
var interv = [];
var interv = {};

console.time('=H=', 'his', 'Got history in');

@@ -607,7 +607,7 @@ Node.prototype.getHistory = function (range)
if (err) {
console.error('his', 'history fetch failed:', err);

results = [];
results = false;
}
else
{

0 comments on commit 1f8021d

Please sign in to comment.
You can’t perform that action at this time.