aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 19:47:17 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 19:47:17 +0800
commitbc5fd316dfb7876f5e8913f7cb196b9a9e0e5ffc (patch)
treed7540845c6f0c58678fa54154eca6922d6d3f732 /src
parent92b101fac8c602e095b864fb72a241ec8c101f2b (diff)
downloaddexon-0x-contracts-bc5fd316dfb7876f5e8913f7cb196b9a9e0e5ffc.tar.gz
dexon-0x-contracts-bc5fd316dfb7876f5e8913f7cb196b9a9e0e5ffc.tar.zst
dexon-0x-contracts-bc5fd316dfb7876f5e8913f7cb196b9a9e0e5ffc.zip
Cast to Artifat type
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index d4daa34a2..2ce9b2922 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -706,7 +706,7 @@ export class ExchangeWrapper extends ContractWrapper {
return this._exchangeContractIfExists;
}
const contractInstance = await this._instantiateContractIfExistsAsync<ExchangeContract>(
- (ExchangeArtifacts as any),
+ (ExchangeArtifacts as any as Artifact),
);
this._exchangeContractIfExists = contractInstance as ExchangeContract;
return this._exchangeContractIfExists;