aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-20 03:18:53 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:57:18 +0800
commite532f2c1650d845aa1186daa8983de18d8affc3c (patch)
tree8a367338d5fd40951d5fb6a002995946452a3a80 /packages/website/ts/blockchain.ts
parenta0c7da95c25bbfc324026acb0c8ee162bb25859e (diff)
downloaddexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.gz
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.bz2
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.lz
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.xz
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.zst
dexon-sol-tools-e532f2c1650d845aa1186daa8983de18d8affc3c.zip
Fix zeppelin imports, run prettier
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index e90dfa747..b7ba2241c 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -784,7 +784,9 @@ export class Blockchain {
const provider = await Blockchain._getProviderAsync(injectedWeb3, networkIdIfExists);
this.networkId = !_.isUndefined(networkIdIfExists)
? networkIdIfExists
- : configs.IS_MAINNET_ENABLED ? constants.NETWORK_ID_MAINNET : constants.NETWORK_ID_KOVAN;
+ : configs.IS_MAINNET_ENABLED
+ ? constants.NETWORK_ID_MAINNET
+ : constants.NETWORK_ID_KOVAN;
this._dispatcher.updateNetworkId(this.networkId);
const zeroExConfigs = {
networkId: this.networkId,