mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Allow metamaskController to define keyring types
This commit is contained in:
parent
4c971ebfd1
commit
08b36b9b58
@ -27,7 +27,7 @@ class KeyringController extends EventEmitter {
|
|||||||
constructor (opts) {
|
constructor (opts) {
|
||||||
super()
|
super()
|
||||||
const initState = opts.initState || {}
|
const initState = opts.initState || {}
|
||||||
this.keyringTypes = keyringTypes
|
this.keyringTypes = opts.keyringTypes || keyringTypes
|
||||||
this.store = new ObservableStore(initState)
|
this.store = new ObservableStore(initState)
|
||||||
this.memStore = new ObservableStore({
|
this.memStore = new ObservableStore({
|
||||||
isUnlocked: false,
|
isUnlocked: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user