aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:18:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:18:15 +0800
commit9395b53af424be536dc7a558de80f54db7815a8c (patch)
treeec40f470b1a53541f9fee6a498052103ba42c167 /src/contract_wrappers
parentf6ec388916ebdd0c67f545125d67ca5a7af49131 (diff)
downloaddexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar.gz
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar.bz2
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar.lz
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar.xz
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.tar.zst
dexon-sol-tools-9395b53af424be536dc7a558de80f54db7815a8c.zip
Rename ZeroExError.CONTRACT_DOES_NOT_EXIST to ZeroExError.EXCHANGE_CONTRACT_DOES_NOT_EXIST
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index d1fc0ea90..4d1e84a17 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -817,7 +817,7 @@ export class ExchangeWrapper extends ContractWrapper {
return exchangeArtifact;
}
}
- throw new Error(ZeroExError.CONTRACT_DOES_NOT_EXIST);
+ throw new Error(ZeroExError.EXCHANGE_CONTRACT_DOES_NOT_EXIST);
}
private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> {
const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress);