aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/token_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 18:37:21 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 18:37:21 +0800
commitd92340903f5d532c88d0a49de271f64f3ff4fc5f (patch)
tree5032b15c8d2895059daee115bcfd8a2f1b09a982 /src/contract_wrappers/token_wrapper.ts
parent44ec05de1fbbb76845fd009ee5bb18db02e622d1 (diff)
downloaddexon-0x-contracts-d92340903f5d532c88d0a49de271f64f3ff4fc5f.tar.gz
dexon-0x-contracts-d92340903f5d532c88d0a49de271f64f3ff4fc5f.tar.zst
dexon-0x-contracts-d92340903f5d532c88d0a49de271f64f3ff4fc5f.zip
Convert artifacts addresses lo lower case before using
Diffstat (limited to 'src/contract_wrappers/token_wrapper.ts')
-rw-r--r--src/contract_wrappers/token_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts
index ae1c7fa43..8c1bf6b52 100644
--- a/src/contract_wrappers/token_wrapper.ts
+++ b/src/contract_wrappers/token_wrapper.ts
@@ -252,7 +252,7 @@ export class TokenWrapper extends ContractWrapper {
if (_.isUndefined(proxyNetworkConfigsIfExists)) {
throw new Error(ZeroExError.ContractNotDeployedOnNetwork);
}
- const proxyAddress = proxyNetworkConfigsIfExists.address;
+ const proxyAddress = proxyNetworkConfigsIfExists.address.toLowerCase();
return proxyAddress;
}
}