aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-05-20 08:06:35 +0800
committerkumavis <kumavis@users.noreply.github.com>2016-05-20 08:06:35 +0800
commitb01b4893c9de0c853e8ba2a2aef5c7fb466e5691 (patch)
treed4d98a55a1ba1d79ef8ab9d1e694e9761cbbc8a4 /app/scripts/lib/config-manager.js
parent9daf170b98f71f4845fe0c71faad22dc32514d1b (diff)
parenta703706cb115c17d072f277045a2ef7d838d9762 (diff)
downloadtangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar.gz
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar.bz2
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar.lz
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar.xz
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.tar.zst
tangerine-wallet-browser-b01b4893c9de0c853e8ba2a2aef5c7fb466e5691.zip
Merge pull request #193 from MetaMask/syncrpcfix
sync rpc fix
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r--app/scripts/lib/config-manager.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index 3c9326db9..847d85a20 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -1,11 +1,12 @@
const Migrator = require('pojo-migrator')
const extend = require('xtend')
+const MetamaskConfig = require('./config.js')
+const migrations = require('./migrations')
const STORAGE_KEY = 'metamask-config'
-const TESTNET_RPC = 'https://morden.infura.io'
-const MAINNET_RPC = 'https://mainnet.infura.io/'
+const TESTNET_RPC = MetamaskConfig.network.testnet
+const MAINNET_RPC = MetamaskConfig.network.mainnet
-const migrations = require('./migrations')
/* The config-manager is a convenience object
* wrapping a pojo-migrator.