diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-19 20:56:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-19 20:56:41 +0800 |
commit | 0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b (patch) | |
tree | 912dd4f55444b03bafbb1fbbf76fc67966aeb95b /src/contract_wrappers/exchange_wrapper.ts | |
parent | f1cb3a4f37f0382ebf3c0ec37a44587cbedf4cad (diff) | |
download | dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar.gz dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar.bz2 dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar.lz dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar.xz dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.tar.zst dexon-sol-tools-0f942f95f0e8bed3db1bf0bc44b2b7f98c478d6b.zip |
Move lower-casing logic
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 11a448680..54d7f62d5 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -753,6 +753,7 @@ export class ExchangeWrapper extends ContractWrapper { private async _getTokenTransferProxyAddressAsync(): Promise<string> { const exchangeInstance = await this._getExchangeContractAsync(); const tokenTransferProxyAddress = await exchangeInstance.TOKEN_TRANSFER_PROXY_CONTRACT.callAsync(); - return tokenTransferProxyAddress; + const tokenTransferProxyAddressLowerCase = tokenTransferProxyAddress.toLowerCase(); + return tokenTransferProxyAddressLowerCase; } } |