Skip to content

Commit

Permalink
test list.length
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelycs committed Jul 23, 2019
1 parent 9c24787 commit 85edb94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ class ClientClass extends netProcessor {
list.push(item);
});

if (list.length > totalNum) {
console.warn('[client.getTxList] Please confirm that totalNum is correct.');
}
return { list, totalNum };
}

Expand Down

0 comments on commit 85edb94

Please sign in to comment.