Adding debug logs
This commit is contained in:
parent
6e2ffdf298
commit
f899f5671d
@ -216,6 +216,8 @@ AddressService.prototype.getAddressHistory = function(addresses, options, stream
|
|||||||
|
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
|
||||||
|
console.debug('getAddressHistory-end', err, results.totalCount, results.items.length);
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
@ -312,10 +314,13 @@ 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) {
|
||||||
|
|
||||||
|
console.debug('getAddressSummary', err, result);
|
||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user