diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-17 13:44:28 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-17 13:44:28 +0800 |
commit | e89350b19fdac56968303e5c48806a4605fb4b22 (patch) | |
tree | 22cc942a6f81459cb47c96ea7cb2b95abb04e162 /app | |
parent | de4265c629f8e68d882c2ded0e20417327cf4d2f (diff) | |
download | tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar.gz tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar.bz2 tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar.lz tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar.xz tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.tar.zst tangerine-wallet-browser-e89350b19fdac56968303e5c48806a4605fb4b22.zip |
added tests for removeAccount
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 7d3f4c2a8..575c591fa 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -629,10 +629,8 @@ module.exports = class MetamaskController extends EventEmitter { const keyState = await keyringController.addNewAccount(keyring) const newAccounts = await keyringController.getAccounts() this.preferencesController.setAddresses(newAccounts) - console.log('new vs old', newAccounts, oldAccounts) newAccounts.forEach(address => { if (!oldAccounts.includes(address)) { - console.log('new address found', address) this.preferencesController.setAccountLabel(address, `TREZOR #${parseInt(index, 10) + 1}`) this.preferencesController.setSelectedAddress(address) } |