diff --git a/lib/http/client.js b/lib/http/client.js index 02755134..5e8f3eea 100644 --- a/lib/http/client.js +++ b/lib/http/client.js @@ -624,8 +624,8 @@ HTTPClient.prototype.getWalletBlock = function getWalletBlock(id, height) { * @returns {Promise} */ -HTTPClient.prototype.getWalletCoin = function getWalletCoin(id, account, hash, index) { - return this._get(`/wallet/${id}/coin/${hash}/${index}`, { account }); +HTTPClient.prototype.getWalletCoin = function getWalletCoin(id, hash, index) { + return this._get(`/wallet/${id}/coin/${hash}/${index}`); }; /** diff --git a/lib/http/wallet.js b/lib/http/wallet.js index 8111ff99..4cff6777 100644 --- a/lib/http/wallet.js +++ b/lib/http/wallet.js @@ -232,8 +232,8 @@ HTTPWallet.prototype.getBlock = function getBlock(height) { * @see Wallet#getCoin */ -HTTPWallet.prototype.getCoin = function getCoin(account, hash, index) { - return this.client.getWalletCoin(this.id, account, hash, index); +HTTPWallet.prototype.getCoin = function getCoin(hash, index) { + return this.client.getWalletCoin(this.id, hash, index); }; /**