fix case for empty tx list
This commit is contained in:
parent
dff11dbd70
commit
abae8d43e4
1 changed files with 0 additions and 2 deletions
|
|
@ -2962,8 +2962,6 @@ Wallet.prototype.getTransactionHistory = function(opts, cb) {
|
|||
};
|
||||
|
||||
function paginate(list, currentPage, itemsPerPage) {
|
||||
if (list.length == 0) return list;
|
||||
|
||||
var res = {
|
||||
itemsPerPage: itemsPerPage || list.length,
|
||||
currentPage: currentPage || 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue