From 0e421de8979802f66b1ba5a6b3459b7626964bd4 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Wed, 22 Nov 2017 15:56:36 -0500 Subject: [PATCH] Fixed spent status from getAddressHistory. --- lib/services/address/index.js | 2 +- lib/services/transaction/index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/services/address/index.js b/lib/services/address/index.js index f5da7307e..71901e4c7 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -420,7 +420,7 @@ AddressService.prototype._getAddressTxHistory = function(options, callback) { }); } - self._transaction.getTransaction(id.txid, next); + self._transaction.getDetailedTransaction(id.txid, options, next); }, callback); diff --git a/lib/services/transaction/index.js b/lib/services/transaction/index.js index e08672024..83bf40a57 100644 --- a/lib/services/transaction/index.js +++ b/lib/services/transaction/index.js @@ -16,7 +16,6 @@ function TransactionService(options) { this._header = this.node.services.header; this._p2p = this.node.services.p2p; this._timestamp = this.node.services.timestamp; - this._address = this.node.services.address; this._network = this.node.network; if (this._network === 'livenet') {