Bug fix
- Fixed: mempool (unconfirmed tx) getting repeated in chain query when using before option
This commit is contained in:
parent
31344d770e
commit
8121a2ba96
@ -1182,7 +1182,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
// query the mempool for relevant txs for this address
|
// query the mempool for relevant txs for this address
|
||||||
function query_mempool_txids(next) {
|
function query_mempool_txids(next) {
|
||||||
|
|
||||||
if (!options.queryMempool) {
|
if (!options.queryMempool || !_.isUndefined(options.before)) { //if queryMempool=false or options.before is given a valid value, then do not query mempool
|
||||||
return next();
|
return next();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user