diff --git a/lib/transactions.js b/lib/transactions.js index 3c884a8..4484d94 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -37,7 +37,7 @@ TxController.prototype.transaction = function(req, res, next) { var self = this; var txid = req.params.txid; - this._address.getTransactionWithAddressInfo(txid, {}, function(err, transaction) { + this._transaction.getDetailedTransaction(txid, {}, function(err, transaction) { if (err) { return self.common.handleErrors(err, res); } @@ -272,7 +272,7 @@ TxController.prototype.list = function(req, res) { } async.mapSeries(txids, function(txid, next) { - self._transaction.getTransactionWithAddressInfo(txid, {}, function(err, transaction) { + self._transaction.getDetailedTransaction(txid, {}, function(err, transaction) { if (err) { return next(err); }