diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 02:08:33 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 02:08:33 +0800 |
commit | f6ec388916ebdd0c67f545125d67ca5a7af49131 (patch) | |
tree | cb32503e9c06c3d6eeb944942b802ce5f8c21a5e /src/contract_wrappers/exchange_wrapper.ts | |
parent | 3f7bdfa67a06fb62fac78a78da606738c64af666 (diff) | |
download | dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.gz dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.bz2 dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.lz dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.xz dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.tar.zst dexon-0x-contracts-f6ec388916ebdd0c67f545125d67ca5a7af49131.zip |
Fix a typo in a name
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 4 |
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; } } |