diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-22 07:49:03 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-22 07:49:03 +0800 |
commit | 9123e70434fcd35dcb79a587e6d5c00734cb99e4 (patch) | |
tree | 0abefc76caf95f051fcaed3235fea1b8c81ae5ea /app/scripts/keyring-controller.js | |
parent | 7cf6e372eb38a0ab2abd8256f6fc714855b63aef (diff) | |
download | tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar.gz tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar.bz2 tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar.lz tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar.xz tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.tar.zst tangerine-wallet-browser-9123e70434fcd35dcb79a587e6d5c00734cb99e4.zip |
Remove entropy from encryption and project.
Diffstat (limited to 'app/scripts/keyring-controller.js')
-rw-r--r-- | app/scripts/keyring-controller.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index cf761c88c..0d906eba1 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -76,8 +76,8 @@ module.exports = class KeyringController extends EventEmitter { this.ethStore = ethStore } - createNewVaultAndKeychain (password, entropy, cb) { - this.createNewVault(password, entropy, (err) => { + createNewVaultAndKeychain (password, cb) { + this.createNewVault(password, (err) => { if (err) return cb(err) this.createFirstKeyTree(password, cb) }) @@ -94,7 +94,7 @@ module.exports = class KeyringController extends EventEmitter { this.clearKeyrings() - this.createNewVault(password, '', (err) => { + this.createNewVault(password, (err) => { if (err) return cb(err) this.addNewKeyring('HD Key Tree', { mnemonic: seed, @@ -135,7 +135,7 @@ module.exports = class KeyringController extends EventEmitter { }) } - createNewVault (password, entropy, cb) { + createNewVault (password, cb) { const configManager = this.configManager const salt = this.encryptor.generateSalt() configManager.setSalt(salt) |