aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/preferences.js
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-08 05:53:36 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-08 05:53:36 +0800
commit15ea8c04b28a9f89999c96caf188d157e5230a55 (patch)
tree7a5742a42724bcfed2c86534c5f61656713da70a /app/scripts/controllers/preferences.js
parent3f57d5f66b3bcb744f918238bf1831dbf9abec9c (diff)
downloadtangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar.gz
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar.bz2
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar.lz
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar.xz
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.tar.zst
tangerine-wallet-browser-15ea8c04b28a9f89999c96caf188d157e5230a55.zip
fix merge
Diffstat (limited to 'app/scripts/controllers/preferences.js')
-rw-r--r--app/scripts/controllers/preferences.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index a42bb77b3..a6530424d 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -454,6 +454,7 @@ class PreferencesController {
const numDecimals = parseInt(decimals, 10)
if (isNaN(numDecimals) || numDecimals > 18 || numDecimals < 0) throw new Error(`Invalid decimals ${decimals}`)
if (!isValidAddress(rawAddress)) throw new Error(`Invalid address ${rawAddress}`)
+ }
/**
* Subscription to network provider type.