Skip to content

Commit 35b6bd6

Browse files
committed
txlistinternal now respects passed in parameters
1 parent e254899 commit 35b6bd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/account.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,17 @@ module.exports = function(getRequest, apiKey) {
8585
if (!startblock) {
8686
startblock = 0;
8787
}
88+
queryObject.startblock = startblock;
8889

8990
if (!endblock) {
9091
endblock = 'latest';
9192
}
93+
queryObject.endblock = endblock;
9294

9395
if (!sort) {
9496
sort = 'asc';
9597
}
98+
queryObject.sort = sort;
9699

97100
if (txhash) {
98101
queryObject.txhash = txhash;

0 commit comments

Comments
 (0)