From 7f86e488e4fd98ba68a0a3778e949f38283de2a0 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Thu, 6 Apr 2023 22:25:03 +0530 Subject: [PATCH] bug fix Fixed bug: api on addr not giving response (timeoout) when it has only 1 tx --- lib/services/address/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/address/index.js b/lib/services/address/index.js index 77c412e8..30e56d9d 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -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