aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts
index 97043bd19..192eaf0a7 100644
--- a/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts
@@ -428,12 +428,6 @@ export class ERC20TokenWrapper extends ContractWrapper {
if (!_.isUndefined(tokenContract)) {
return tokenContract;
}
- // TODO(albrow): Do we really still need this check? The default error
- // looks okay to me.
- const doesContractExist = await this._web3Wrapper.doesContractExistAtAddressAsync(tokenAddress);
- if (!doesContractExist) {
- throw new Error(ContractWrappersError.ERC20TokenContractDoesNotExist);
- }
const contractInstance = new ERC20TokenContract(
this.abi,
normalizedTokenAddress,