aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 01:15:03 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 01:15:03 +0800
commit65f09d052831e7722f62478db6026ebb855c7f2c (patch)
tree742553368d37009b6631ca6441e8a8aefac6dc53 /packages/website/ts/blockchain.ts
parente3604c1662f9c815d628d3e1ce1cb43bc0c1849f (diff)
downloaddexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.gz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.bz2
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.lz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.xz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.zst
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.zip
Fix 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 17dbee5c8..d18f3b398 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -791,7 +791,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,