This commit is contained in:
Patrick Nagurny 2015-09-18 11:45:22 -04:00
parent b11ab97739
commit 4e763d189f

View File

@ -886,7 +886,7 @@ AddressService.prototype.getAddressHistory = function(addresses, options, callba
* totalReceived - satoshis received * totalReceived - satoshis received
* totalSpent - satoshis spent * totalSpent - satoshis spent
* appearances - number of times used in confirmed transactions * appearances - number of times used in confirmed transactions
* unconfirmedApearances - number of times used in unconfirmed transactions * unconfirmedAppearances - number of times used in unconfirmed transactions
* txids - list of txids (unless noTxList is set) * txids - list of txids (unless noTxList is set)
* *
* @param {String} address * @param {String} address
@ -905,11 +905,11 @@ AddressService.prototype.getAddressSummary = function(address, options, callback
var inputs; var inputs;
var mempoolInputs; var mempoolInputs;
async.series( async.parallel(
[ [
function(next) { function(next) {
if(options.noTxList) { if(options.noTxList) {
next(); setImmediate(next);
} else { } else {
self.getInputs(address, opt, function(err, ins) { self.getInputs(address, opt, function(err, ins) {
inputs = ins; inputs = ins;