diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/0x.ts | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -286,15 +286,11 @@ export class ZeroEx { const exchangeContractAddresses = await this.getAvailableExchangeContractAddressesAsync(); const proxyAuthorizedExchangeContractAddresses = []; for (const exchangeContractAddress of exchangeContractAddresses) { - const isAuthorized = await this._isExchangeContractAddressProxyAuthorizedAsync(exchangeContractAddress); + const isAuthorized = await this.proxy.isAuthorizedAsync(exchangeContractAddress); if (isAuthorized) { proxyAuthorizedExchangeContractAddresses.push(exchangeContractAddress); } } return proxyAuthorizedExchangeContractAddresses; } - private async _isExchangeContractAddressProxyAuthorizedAsync(exchangeContractAddress: string): Promise<boolean> { - const isAuthorized = await this.proxy.isAuthorizedAsync(exchangeContractAddress); - return isAuthorized; - } } |