aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/0x.ts')
-rw-r--r--src/0x.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/0x.ts b/src/0x.ts
index bef12fe7f..95935c258 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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;
- }
}