diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-18 23:26:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-18 23:26:30 +0800 |
commit | e19d5b3c78d1f986bc7e0db70a8241b9f2995763 (patch) | |
tree | 22035e7adf7bbad83ee0e9ae23020fcc90db207e /src | |
parent | 946978e454a93b9642a9ed261229ea749e71fd2f (diff) | |
download | dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar.gz dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar.bz2 dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar.lz dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar.xz dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.tar.zst dexon-sol-tools-e19d5b3c78d1f986bc7e0db70a8241b9f2995763.zip |
Fix a typo
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index 59c4a4e7b..167815d73 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -135,7 +135,7 @@ export class TokenWrapper extends ContractWrapper { assert.isETHAddressHex('ownerAddress', ownerAddress); assert.isETHAddressHex('tokenAddress', tokenAddress); - const proxyAddress = await this._getTokentransferProxyAddressAsync(); + const proxyAddress = await this._getTokenTransferProxyAddressAsync(); const allowanceInBaseUnits = await this.getAllowanceAsync(tokenAddress, ownerAddress, proxyAddress, methodOpts); return allowanceInBaseUnits; } @@ -154,7 +154,7 @@ export class TokenWrapper extends ContractWrapper { assert.isETHAddressHex('tokenAddress', tokenAddress); assert.isBigNumber('amountInBaseUnits', amountInBaseUnits); - const proxyAddress = await this._getTokentransferProxyAddressAsync(); + const proxyAddress = await this._getTokenTransferProxyAddressAsync(); const txHash = await this.setAllowanceAsync(tokenAddress, ownerAddress, proxyAddress, amountInBaseUnits); return txHash; } @@ -301,7 +301,7 @@ export class TokenWrapper extends ContractWrapper { this._tokenContractsByAddress[tokenAddress] = tokenContract; return tokenContract; } - private async _getTokentransferProxyAddressAsync(): Promise<string> { + private async _getTokenTransferProxyAddressAsync(): Promise<string> { const tokenTransferProxyContractAddress = await this._tokenTransferProxyContractAddressFetcher(); const lowerCaseTokenTransferProxyContractAddress = tokenTransferProxyContractAddress.toLowerCase(); return lowerCaseTokenTransferProxyContractAddress; |