Fixed bug: api on addr not giving response (timeoout) when it has only 1 tx
This commit is contained in:
sairajzero 2023-04-06 22:25:03 +05:30
parent 37e08b0801
commit 7f86e488e4

View File

@ -991,7 +991,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
//wait for queue to complete
function(next) {
if(!q.started) //No tx in query
if(!q.started || q.idle()) //No tx in query (or) already finished querying
return next();
else