diff --git a/lib/services/address/index.js b/lib/services/address/index.js index b6a85511..200c181f 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -1000,6 +1000,12 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre //wait for queue to complete function(next) { + + if(!q.started){ //no tx + console.debug("NO QUEUE, END"); + return next(); + } + console.debug("WAITING FOR DRAIN") q.drain = ()=> { console.debug("END-DRAIN");