aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-28 15:04:34 +0800
committerkumavis <aaron@kumavis.me>2017-01-28 15:04:34 +0800
commit3afd0ef27d69ed5d130f4ea37e3e856cadba34d9 (patch)
tree5814f405217375ce3897eea90be556a809e6a4e0 /app
parentad9531d521057da3540a47bfa592dee6fd225d2e (diff)
downloadtangerine-wallet-browser-3afd0ef27d69ed5d130f4ea37e3e856cadba34d9.tar.gz
tangerine-wallet-browser-3afd0ef27d69ed5d130f4ea37e3e856cadba34d9.tar.zst
tangerine-wallet-browser-3afd0ef27d69ed5d130f4ea37e3e856cadba34d9.zip
tests - remove persistence and start with initial state
Diffstat (limited to 'app')
-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) {