aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-01-29 14:26:47 +0800
committerGitHub <noreply@github.com>2017-01-29 14:26:47 +0800
commit47b48c0e02b2b9508813abfda0d89a1bbe677694 (patch)
treee4e07f9508905ff15425bc3664c60f5bb9410b3a /app/scripts/lib
parent61528bdf088e304150698d95218806d7b4faa56e (diff)
parent13e20034698ae0477240e88eab9a3483e5daccd6 (diff)
downloadtangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar.gz
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar.bz2
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar.lz
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar.xz
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.tar.zst
tangerine-wallet-browser-47b48c0e02b2b9508813abfda0d89a1bbe677694.zip
Merge pull request #1062 from MetaMask/kumavis-refactor3
Kumavis refactor3
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/config-manager.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index fd4ac511a..357e081b1 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -29,15 +29,7 @@ ConfigManager.prototype.setConfig = function (config) {
ConfigManager.prototype.getConfig = function () {
var data = this.getData()
- if ('config' in data) {
- return data.config
- } else {
- return {
- provider: {
- type: 'testnet',
- },
- }
- }
+ return data.config
}
ConfigManager.prototype.setRpcTarget = function (rpcUrl) {