From 649d55f0a28e23c2557a9d77b325bf960a18f8f7 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 3 Jul 2017 11:43:36 -0700 Subject: Fix _getProxyContractAsync function name --- src/contract_wrappers/proxy_wrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { - 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; } -- cgit v1.2.3