bug fix
Fixed bug: api on addr not giving response (timeoout) when it has only 1 tx
This commit is contained in:
parent
37e08b0801
commit
7f86e488e4
@ -991,7 +991,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
//wait for queue to complete
|
//wait for queue to complete
|
||||||
function(next) {
|
function(next) {
|
||||||
|
|
||||||
if(!q.started) //No tx in query
|
if(!q.started || q.idle()) //No tx in query (or) already finished querying
|
||||||
return next();
|
return next();
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user