Matias Alejo Garcia
9 years ago
No known key found for this signature in database
GPG Key ID: 2470DB551277AB3
1 changed files with
1 additions and
1 deletions
-
lib/storage.js
|
|
@ -650,7 +650,7 @@ Storage.prototype.getTxHistoryCache = function(walletId, from, to, cb) { |
|
|
|
}, function(err, result) { |
|
|
|
if (err) return cb(err); |
|
|
|
|
|
|
|
if (result.history.length < end) |
|
|
|
if (!result || result.history.length < end) |
|
|
|
return cb(); |
|
|
|
|
|
|
|
var ret = result.history.slice(fwdIndex, end); |
|
|
|