logs
This commit is contained in:
parent
8d4f9f5a6e
commit
7663026227
@ -222,7 +222,7 @@ AddressService.prototype.getAddressHistory = function(addresses, options, stream
|
||||
results.items.sort((a, b) => b.__height - a.__height || b.txid().localeCompare(a.txid()));
|
||||
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;
|
||||
console.debug("POPED", results.items.splice(start_index, del_count).map(r => r.txid())) ;
|
||||
results.items.splice(start_index, del_count).map(r => r.txid());
|
||||
}
|
||||
|
||||
}
|
||||
@ -921,8 +921,6 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
||||
|
||||
self._transaction.getTransaction(options.after, options, function(err, tx) {
|
||||
|
||||
if(!tx) console.debug(options.after + "Not found");
|
||||
|
||||
if(tx && tx.confirmations && tx.height >= options.start) {
|
||||
|
||||
options.start = tx.height;
|
||||
@ -962,7 +960,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
||||
|
||||
if(options.flag_stop){
|
||||
//stop data query
|
||||
console.debug("FLAG:", options.flag_stop)
|
||||
console.debug("FLAG STOP:", options.flag_stop)
|
||||
return txIdTransformStream.unpipe();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user