Browse Source

Fix #120

fix-133-memory-crash
Dan Janosik 6 years ago
parent
commit
ba1f446b38
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 2
      app/api/blockchairAddressApi.js

2
app/api/blockchairAddressApi.js

@ -22,7 +22,7 @@ function getAddressDetails(address, scriptPubkey, sort, limit, offset) {
result.txids = [];
// blockchair doesn't support offset for paging, so simulate up to the hard cap of 2,000
for (var i = offset; i < Math.min(responseObj.transactions.length, limit); i++) {
for (var i = 0; i < Math.min(responseObj.transactions.length, limit); i++) {
var txid = responseObj.transactions[i];
result.txids.push(txid);

Loading…
Cancel
Save