Update index.js

This commit is contained in:
sairajzero 2023-02-05 16:29:39 +05:30
parent 0b646fe453
commit a24916243f

View File

@ -877,7 +877,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
function chunkCallback(err, tx){
console.debug("CHUNK", td_count, q.length(), q.killed);
if(!err && !tx) //no error or tx data (duplicate calls will have empty tx value)
if(q.killed || (!err && !tx)) //no error or tx data (duplicate calls will have empty tx value)
return;
if(tx){