diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-09-23 04:25:08 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-09-23 04:25:08 +0800 |
commit | 4c971ebfd1fad18368ec418c36c4d05a6bb37e6d (patch) | |
tree | 6e3b19b480de241884ed2da0809f92a5c4593f31 /app/scripts | |
parent | e9b7fd901862f57a92614b19f7f2caa969d4a282 (diff) | |
download | tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar.gz tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar.bz2 tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar.lz tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar.xz tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.tar.zst tangerine-wallet-browser-4c971ebfd1fad18368ec418c36c4d05a6bb37e6d.zip |
Define encryptor in constructor params instead of platform object
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index e4fa3518f..42248827f 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -95,7 +95,7 @@ module.exports = class MetamaskController extends EventEmitter { initState: initState.KeyringController, ethStore: this.ethStore, getNetwork: this.networkController.getNetworkState.bind(this.networkController), - encryptor: opts.platform.encryptor || undefined, + encryptor: opts.encryptor || undefined, }) this.keyringController.on('newAccount', (address) => { this.preferencesController.setSelectedAddress(address) |