aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
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/scripts
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/scripts')
-rw-r--r--app/scripts/lib/idStore.js4
1 files changed, 3 insertions, 1 deletions
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