aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-03-30 02:12:07 +0800
committerDan Finlay <dan@danfinlay.com>2016-03-30 02:12:07 +0800
commit39160d3025a1d9e327f48b034c083808663e2481 (patch)
tree2ffc4c48964d91cfb77ccf61e9e044a4d7b8d13d /app
parentf730f6e0d855f3b18c6db8c4bd401092c17d6085 (diff)
downloadtangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.gz
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.bz2
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.lz
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.xz
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.zst
tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.zip
Remove argument destructuring
Diffstat (limited to 'app')
-rw-r--r--app/manifest.json2
-rw-r--r--app/scripts/lib/idStore.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/manifest.json b/app/manifest.json
index cc0fdbd5a..c383ef6b7 100644
--- a/app/manifest.json
+++ b/app/manifest.json
@@ -1,6 +1,6 @@
{
"name": "__MSG_appName__",
- "version": "1.1.1",
+ "version": "1.1.2",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index f0e566e5e..acd34074b 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -268,7 +268,9 @@ IdentityStore.prototype._createFirstWallet = function(entropy, derivedKey) {
return keyStore
}
-function IdManagement( opts = { keyStore: null, derivedKey: null, hdPathString: null } ) {
+function IdManagement(opts) {
+ if (!opts) opts = {}
+
this.keyStore = opts.keyStore
this.derivedKey = opts.derivedKey
this.hdPathString = opts.hdPathString