diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-01 05:15:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-01 05:15:49 +0800 |
commit | 43848f45ec73ef2b101a0eef09f9eb673a1c776a (patch) | |
tree | 6352f7303945456a30bffb56a0678be6bed5789a /src/contract_wrappers/exchange_wrapper.ts | |
parent | fc3b0ce553574502fa23e63ec47e9500ba69283c (diff) | |
download | dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar.gz dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar.bz2 dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar.lz dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar.xz dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.tar.zst dexon-0x-contracts-43848f45ec73ef2b101a0eef09f9eb673a1c776a.zip |
Fix a typo in authorized
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index a276b53ad..8dc048648 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -632,8 +632,8 @@ export class ExchangeWrapper extends ContractWrapper { const exchangeContractAddresses = await this.getAvailableContractAddressesAsync(); const proxyAuthorizedExchangeContractAddresses = []; for (const exchangeContractAddress of exchangeContractAddresses) { - const isProxyAuthorized = await this._isExchangeContractAddressProxyAuthrizedAsync(exchangeContractAddress); - if (isProxyAuthorized) { + const isAuthorized = await this._isExchangeContractAddressProxyAuthorizedAsync(exchangeContractAddress); + if (isAuthorized) { proxyAuthorizedExchangeContractAddresses.push(exchangeContractAddress); } } @@ -648,7 +648,7 @@ export class ExchangeWrapper extends ContractWrapper { await Promise.all(stopWatchingPromises); this._exchangeLogEventEmitters = []; } - private async _isExchangeContractAddressProxyAuthrizedAsync(exchangeContractAddress: string): Promise<boolean> { + private async _isExchangeContractAddressProxyAuthorizedAsync(exchangeContractAddress: string): Promise<boolean> { const isAuthorized = await this._proxyWrapper.isAuthorizedAsync(exchangeContractAddress); return isAuthorized; } |