aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}