mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove argument destructuring
This commit is contained in:
parent
f730f6e0d8
commit
39160d3025
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "__MSG_appName__",
|
"name": "__MSG_appName__",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"description": "__MSG_appDescription__",
|
"description": "__MSG_appDescription__",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
@ -268,7 +268,9 @@ IdentityStore.prototype._createFirstWallet = function(entropy, derivedKey) {
|
|||||||
return keyStore
|
return keyStore
|
||||||
}
|
}
|
||||||
|
|
||||||
function IdManagement( opts = { keyStore: null, derivedKey: null, hdPathString: null } ) {
|
function IdManagement(opts) {
|
||||||
|
if (!opts) opts = {}
|
||||||
|
|
||||||
this.keyStore = opts.keyStore
|
this.keyStore = opts.keyStore
|
||||||
this.derivedKey = opts.derivedKey
|
this.derivedKey = opts.derivedKey
|
||||||
this.hdPathString = opts.hdPathString
|
this.hdPathString = opts.hdPathString
|
||||||
|
Loading…
Reference in New Issue
Block a user