diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 02:43:36 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 02:43:36 +0800 |
commit | 649d55f0a28e23c2557a9d77b325bf960a18f8f7 (patch) | |
tree | d7bfefddd496cf987c4b7088c26c54c1bc6c08d8 /src/contract_wrappers/proxy_wrapper.ts | |
parent | b7705f0871462671972846b354b1d8d328eb260e (diff) | |
download | dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar.gz dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar.bz2 dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar.lz dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar.xz dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.tar.zst dexon-sol-tools-649d55f0a28e23c2557a9d77b325bf960a18f8f7.zip |
Fix _getProxyContractAsync function name
Diffstat (limited to 'src/contract_wrappers/proxy_wrapper.ts')
-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; } |