getCoin was unnecessarily passing account
This commit is contained in:
parent
d9ebfcc2f9
commit
e27408dc58
@ -624,8 +624,8 @@ HTTPClient.prototype.getWalletBlock = function getWalletBlock(id, height) {
|
|||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
HTTPClient.prototype.getWalletCoin = function getWalletCoin(id, account, hash, index) {
|
HTTPClient.prototype.getWalletCoin = function getWalletCoin(id, hash, index) {
|
||||||
return this._get(`/wallet/${id}/coin/${hash}/${index}`, { account });
|
return this._get(`/wallet/${id}/coin/${hash}/${index}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -232,8 +232,8 @@ HTTPWallet.prototype.getBlock = function getBlock(height) {
|
|||||||
* @see Wallet#getCoin
|
* @see Wallet#getCoin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
HTTPWallet.prototype.getCoin = function getCoin(account, hash, index) {
|
HTTPWallet.prototype.getCoin = function getCoin(hash, index) {
|
||||||
return this.client.getWalletCoin(this.id, account, hash, index);
|
return this.client.getWalletCoin(this.id, hash, index);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user