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