Fixed variable name.
This commit is contained in:
parent
3923f260e8
commit
efa8bc01c1
@ -163,6 +163,7 @@ AddressController.prototype.multiutxo = function(req, res) {
|
|||||||
} else {
|
} else {
|
||||||
addresses = req.addrs.split(',');
|
addresses = req.addrs.split(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
async.eachLimit(addresses, 4, function(addr, next) {
|
async.eachLimit(addresses, 4, function(addr, next) {
|
||||||
|
|
||||||
self._address.getAddressUnspentOutputs(addr, {}, function(err, utxos) {
|
self._address.getAddressUnspentOutputs(addr, {}, function(err, utxos) {
|
||||||
@ -234,6 +235,7 @@ AddressController.prototype.multitxs = function(req, res) {
|
|||||||
var transformOptions = self._getTransformOptions(req);
|
var transformOptions = self._getTransformOptions(req);
|
||||||
|
|
||||||
self.transformAddressHistoryForMultiTxs(result.items, transformOptions, function(err, items) {
|
self.transformAddressHistoryForMultiTxs(result.items, transformOptions, function(err, items) {
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
return self.common.handleErrors(err, res);
|
return self.common.handleErrors(err, res);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -97,7 +97,7 @@ TxController.prototype.transformTransaction = function(transaction, options, cal
|
|||||||
|
|
||||||
transformed.vout = transaction.outputs.map(this.transformOutput.bind(this, options));
|
transformed.vout = transaction.outputs.map(this.transformOutput.bind(this, options));
|
||||||
|
|
||||||
transformed.blockhash = transaction.__blockhash;
|
transformed.blockhash = transaction.blockhash;
|
||||||
transformed.blockheight = transaction.__height;
|
transformed.blockheight = transaction.__height;
|
||||||
transformed.confirmations = confirmations;
|
transformed.confirmations = confirmations;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user