diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/proxy_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts index 945e1576c..862bce131 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<boolean> { - const proxyContractInstance = await this._getTokenRegistryContractAsync(); + const proxyContractInstance = await this._getProxyContractAsync(); const isAuthorized = await proxyContractInstance.authorized.call(exchangeContractAddress); return isAuthorized; } - private async _getTokenRegistryContractAsync(): Promise<ProxyContract> { + private async _getProxyContractAsync(): Promise<ProxyContract> { if (!_.isUndefined(this._proxyContractIfExists)) { return this._proxyContractIfExists; } |