logging
This commit is contained in:
parent
f899f5671d
commit
9e0ebda278
@ -314,8 +314,6 @@ AddressService.prototype.getAddressSummary = function(address, options, streamer
|
|||||||
if(tx)
|
if(tx)
|
||||||
self._aggregateAddressSummaryResult(tx, address, result, options);
|
self._aggregateAddressSummaryResult(tx, address, result, options);
|
||||||
|
|
||||||
console.debug(result.txApperances);
|
|
||||||
|
|
||||||
streamer(null, tx);
|
streamer(null, tx);
|
||||||
|
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
@ -746,6 +744,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
streamer(err, tx);
|
streamer(err, tx);
|
||||||
|
|
||||||
if(err){
|
if(err){
|
||||||
|
console.debug(err);
|
||||||
q.kill();
|
q.kill();
|
||||||
|
|
||||||
return callback();
|
return callback();
|
||||||
@ -804,7 +803,10 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
var txidStream = self._getTxidStream(address, options);
|
var txidStream = self._getTxidStream(address, options);
|
||||||
txidStream.pipe(txIdTransformStream);
|
txidStream.pipe(txIdTransformStream);
|
||||||
|
|
||||||
q.drain(next);
|
q.drain(function (e, d){
|
||||||
|
console.debug("Drain reached...", e, d);
|
||||||
|
next(e, d);
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
], callback);
|
], callback);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user