diff --git a/lib/http/client.js b/lib/http/client.js index 3d5fc6f4..0bcea83d 100644 --- a/lib/http/client.js +++ b/lib/http/client.js @@ -537,9 +537,8 @@ HTTPClient.prototype.getRange = function getRange(id, account, options) { * @returns {Promise} - Returns {@link TX}[]. */ -HTTPClient.prototype.getWalletTX = function getWalletTX(id, account, hash) { - var options = { account: account }; - return this._get('/wallet/' + id + '/tx/' + hash, options); +HTTPClient.prototype.getWalletTX = function getWalletTX(id, hash) { + return this._get('/wallet/' + id + '/tx/' + hash); }; /** diff --git a/lib/http/wallet.js b/lib/http/wallet.js index 5520d2c6..e6493c83 100644 --- a/lib/http/wallet.js +++ b/lib/http/wallet.js @@ -188,8 +188,8 @@ HTTPWallet.prototype.getRange = function getRange(account, options) { * @see Wallet#getTX */ -HTTPWallet.prototype.getTX = function getTX(account, hash) { - return this.client.getWalletTX(this.id, account, hash); +HTTPWallet.prototype.getTX = function getTX(hash) { + return this.client.getWalletTX(this.id, hash); }; /**