aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2019-04-23 10:35:37 +0800
committerHsuan Lee <boczeratul@gmail.com>2019-04-23 10:35:37 +0800
commit0390da9776ba991e5a8b157eadfde6c14c969137 (patch)
tree30b2202b979ab359c959e9774414d28ca3f7fb5f
parent5834ffb1eceb8942df1ed8c8560761d5b15fe1c6 (diff)
downloaddexon-wallet-0390da9776ba991e5a8b157eadfde6c14c969137.tar.gz
dexon-wallet-0390da9776ba991e5a8b157eadfde6c14c969137.tar.zst
dexon-wallet-0390da9776ba991e5a8b157eadfde6c14c969137.zip
Default to Mainnet
-rw-r--r--app/scripts/controllers/network/network.js2
-rw-r--r--package.json4
-rw-r--r--ui/app/ducks/gas.duck.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/app/scripts/controllers/network/network.js b/app/scripts/controllers/network/network.js
index 8d2ca78d..c313e85b 100644
--- a/app/scripts/controllers/network/network.js
+++ b/app/scripts/controllers/network/network.js
@@ -32,7 +32,7 @@ const DEXON_PROVIDER_TYPES = [MAINNET, TESTNET]
const defaultProviderConfig = {
// type: testMode ? TESTNET : MAINNET,
- type: TESTNET,
+ type: MAINNET,
}
const defaultNetworkConfig = {
diff --git a/package.json b/package.json
index c326ba08..7eb2fa44 100644
--- a/package.json
+++ b/package.json
@@ -80,7 +80,6 @@
]
},
"dependencies": {
- "@sentry/browser": "^4.1.1",
"@dexon-foundation/dekusan-inpage-provider": "^1.2.3",
"@dexon-foundation/dexon-keyring-controller": "^4.0.0",
"@dexon-foundation/eth-json-rpc-filters": "^3.0.1",
@@ -88,6 +87,7 @@
"@dexon-foundation/eth-trezor-keyring": "^0.4.0",
"@dexon-foundation/jazzicon": "^2.0.0",
"@material-ui/core": "^3.1.0",
+ "@sentry/browser": "^4.1.1",
"@zxing/library": "^0.8.0",
"abi-decoder": "^1.0.9",
"asmcrypto.js": "0.22.0",
@@ -128,7 +128,7 @@
"eth-phishing-detect": "^1.1.4",
"eth-query": "^2.1.2",
"eth-sig-util": "^2.0.2",
- "eth-token-tracker": "^1.1.5",
+ "eth-token-tracker": "^1.1.8",
"ethereumjs-abi": "^0.6.4",
"ethereumjs-tx": "^1.3.0",
"ethereumjs-util": "github:ethereumjs/ethereumjs-util#ac5d0908536b447083ea422b435da27f26615de9",
diff --git a/ui/app/ducks/gas.duck.js b/ui/app/ducks/gas.duck.js
index a1186f63..4e629bfa 100644
--- a/ui/app/ducks/gas.duck.js
+++ b/ui/app/ducks/gas.duck.js
@@ -172,7 +172,7 @@ export function fetchBasicGasEstimates () {
dispatch(basicGasEstimatesLoadingStarted())
// TODO: switch to Mainnet
- return fetch('https://testnet-rpc.dexon.org', {
+ return fetch('https://mainnet-rpc.dexon.org', {
'headers': {
'Content-Type': 'application/json',
},
@@ -213,7 +213,7 @@ export function fetchBasicGasAndTimeEstimates () {
// TODO: switch to Mainnet
const promiseToFetch = Date.now() - timeLastRetrieved > 75000
- ? fetch('https://testnet-rpc.dexon.org', {
+ ? fetch('https://mainnet-rpc.dexon.org', {
'headers': {
'Content-Type': 'application/json',
},