diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-27 10:36:51 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-27 10:44:21 +0800 |
commit | 3d55f97c0aa3232624395d7b9398ff269425fa95 (patch) | |
tree | 3da70aafad301eb7fae50ea46a2e338c252f2abf /src/0x.ts | |
parent | de0e436aad5d6b1c8a9425f075dbc3074b2fe31f (diff) | |
download | dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar.gz dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar.bz2 dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar.lz dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar.xz dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.tar.zst dexon-sol-tools-3d55f97c0aa3232624395d7b9398ff269425fa95.zip |
Remove _getExchangeAddressAsync
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -241,15 +241,4 @@ export class ZeroEx { } return ecSignature; } - private async _getExchangeAddressAsync() { - const networkIdIfExists = await this._web3Wrapper.getNetworkIdIfExistsAsync(); - const exchangeNetworkConfigsIfExists = _.isUndefined(networkIdIfExists) ? - undefined : - (ExchangeArtifacts as any).networks[networkIdIfExists]; - if (_.isUndefined(exchangeNetworkConfigsIfExists)) { - throw new Error(ZeroExError.CONTRACT_NOT_DEPLOYED_ON_NETWORK); - } - const exchangeAddress = exchangeNetworkConfigsIfExists.address; - return exchangeAddress; - } } |