aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:08:33 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:08:33 +0800
commitf6ec388916ebdd0c67f545125d67ca5a7af49131 (patch)
treecb32503e9c06c3d6eeb944942b802ce5f8c21a5e
parent3f7bdfa67a06fb62fac78a78da606738c64af666 (diff)
downloaddexon-sol-tools-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.gz
dexon-sol-tools-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.zst
dexon-sol-tools-f6ec388916ebdd0c67f545125d67ca5a7af49131.zip
Fix a typo in a name
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 08a145b0e..d1fc0ea90 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -809,11 +809,11 @@ export class ExchangeWrapper extends ContractWrapper {
private _getExchangeArtifactsByAddressOrThrow(exchangeContractAddress: string): ContractArtifact {
const exchangeArtifacts = _.values<ContractArtifact>(ExchangeArtifactsByName);
for (const exchangeArtifact of exchangeArtifacts) {
- const exchangeAddressesInAftifact = _.map(
+ const exchangeAddressesInArtifact = _.map(
_.values(exchangeArtifact.networks),
artifactsByNetwork => artifactsByNetwork.address,
);
- if (_.includes(exchangeAddressesInAftifact, exchangeContractAddress)) {
+ if (_.includes(exchangeAddressesInArtifact, exchangeContractAddress)) {
return exchangeArtifact;
}
}