Skip to content

Commit

Permalink
rm start/end 2
Browse files Browse the repository at this point in the history
  • Loading branch information
matiu committed Jul 13, 2015
1 parent ef296c5 commit 671ef9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/addresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ exports.multitxs = function(req, res, next) {
to = from + MAX_BATCH_SIZE;

if (from < 0) from = 0;
if (to > nbTxs) tx = nbTxs;
if (to < 0) to = 0;
if (from > nbTxs) from = nbTxs;
if (to > nbTxs) to = nbTxs;

txs.sort(function(a, b) {
return (b.ts || b.ts) - (a.ts || a.ts);
Expand Down

0 comments on commit 671ef9a

Please sign in to comment.