test-fix
This commit is contained in:
parent
66fa217f10
commit
09a934f65b
@ -777,7 +777,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
next();
|
next();
|
||||||
},
|
},
|
||||||
// stream the rest of the confirmed txids out of the address index
|
// stream the rest of the confirmed txids out of the address index
|
||||||
function(next) {
|
async function(next) {
|
||||||
|
|
||||||
var txIdTransformStream = new Transform({ objectMode: true });
|
var txIdTransformStream = new Transform({ objectMode: true });
|
||||||
|
|
||||||
@ -806,11 +806,9 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
var txidStream = self._getTxidStream(address, options);
|
var txidStream = self._getTxidStream(address, options);
|
||||||
txidStream.pipe(txIdTransformStream);
|
txidStream.pipe(txIdTransformStream);
|
||||||
|
|
||||||
q.drain(function (e, d){
|
await q.drain();
|
||||||
console.debug("Q-DRAIN", e, d);
|
console.debug("Q-DRAIN");
|
||||||
next(e, d);
|
next();
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
], callback);
|
], callback);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user