diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts index 945e1576c0..862bce1319 100644 --- a/src/contract_wrappers/proxy_wrapper.ts +++ b/src/contract_wrappers/proxy_wrapper.ts @@ -18,11 +18,11 @@ export class ProxyWrapper extends ContractWrapper { * @return Whether the exchangeContractAddress is authorized. */ public async isAuthorizedAsync(exchangeContractAddress: string): Promise { - const proxyContractInstance = await this._getTokenRegistryContractAsync(); + const proxyContractInstance = await this._getProxyContractAsync(); const isAuthorized = await proxyContractInstance.authorized.call(exchangeContractAddress); return isAuthorized; } - private async _getTokenRegistryContractAsync(): Promise { + private async _getProxyContractAsync(): Promise { if (!_.isUndefined(this._proxyContractIfExists)) { return this._proxyContractIfExists; }