Update index.js
This commit is contained in:
parent
263c892b1d
commit
85c1c02c74
@ -222,7 +222,7 @@ AddressService.prototype.getAddressHistory = function(addresses, options, stream
|
|||||||
results.items.sort((a, b) => b.__height - a.__height || a.txid().localeCompare(b.txid()));
|
results.items.sort((a, b) => b.__height - a.__height || a.txid().localeCompare(b.txid()));
|
||||||
let del_count = options.old_support ? results.items.length : results.items.length - MAX_TX_QUERY_LIMIT;
|
let del_count = options.old_support ? results.items.length : results.items.length - MAX_TX_QUERY_LIMIT;
|
||||||
let start_index = options.old_support ? MAX_TX_QUERY_LIMIT : 0;
|
let start_index = options.old_support ? MAX_TX_QUERY_LIMIT : 0;
|
||||||
console.debug("POPED", results.items.splice(start_index, del_count)) ;
|
console.debug("POPED", results.items.splice(start_index, del_count).map(r => r.txid())) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user