Browse Source

no result fix

activeAddress
Matias Alejo Garcia 9 years ago
parent
commit
b3090c6352
No known key found for this signature in database GPG Key ID: 2470DB551277AB3
  1. 2
      lib/storage.js

2
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);

Loading…
Cancel
Save