1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Make encryptor configurable for keyring-controller

This commit is contained in:
Dan Finlay 2017-09-25 15:23:37 -07:00
parent feed9a5a17
commit 1968d61431

View File

@ -37,7 +37,7 @@ class KeyringController extends EventEmitter {
})
this.accountTracker = opts.accountTracker
this.encryptor = encryptor
this.encryptor = opts.encryptor || encryptor
this.keyrings = []
this.getNetwork = opts.getNetwork
}