diff --git a/lib/services/bitcoind.js b/lib/services/bitcoind.js index b6cd6fdf..95bada78 100644 --- a/lib/services/bitcoind.js +++ b/lib/services/bitcoind.js @@ -515,12 +515,9 @@ Bitcoin.prototype._getAddressStrings = function(addresses) { }; Bitcoin.prototype._paginateTxids = function(fullTxids, from, to) { - var totalCount = fullTxids.length; var txids; if (from >= 0 && to >= 0) { - var fromOffset = totalCount - from; - var toOffset = totalCount - to; - txids = fullTxids.slice(toOffset, fromOffset); + txids = fullTxids.slice(from, to); } else { txids = fullTxids; }