1
0
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:
Dan Finlay 2017-09-22 13:29:13 -07:00
parent 4c971ebfd1
commit 08b36b9b58

View File

@ -27,7 +27,7 @@ class KeyringController extends EventEmitter {
constructor (opts) {
super()
const initState = opts.initState || {}
this.keyringTypes = keyringTypes
this.keyringTypes = opts.keyringTypes || keyringTypes
this.store = new ObservableStore(initState)
this.memStore = new ObservableStore({
isUnlocked: false,