diff --git a/js/models/Wallet.js b/js/models/Wallet.js index a2cffb06d..df33cc2c5 100644 --- a/js/models/Wallet.js +++ b/js/models/Wallet.js @@ -2998,6 +2998,8 @@ Wallet.prototype.getTransactionHistory = function(opts, cb) { return cb(null, paginate(history, opts.currentPage, opts.itemsPerPage)); }); + } else { + return paginate([], opts.currentPage, opts.ItemsPerPage); } };