diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-21 12:04:07 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-21 12:04:07 +0800 |
commit | 34e3ec60927c60e8db49fb69f70c189e66b1490c (patch) | |
tree | 7a21c8bde33dd0e8964c485bae3d376b4ede1bc8 | |
parent | 887cad973f25f43d2d4502ff31657f156a44b188 (diff) | |
download | tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar.gz tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar.bz2 tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar.lz tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar.xz tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.tar.zst tangerine-wallet-browser-34e3ec60927c60e8db49fb69f70c189e66b1490c.zip |
fix account removal
-rw-r--r-- | app/scripts/metamask-controller.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 2d7d2c671..cee7bf398 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -800,7 +800,8 @@ module.exports = class MetamaskController extends EventEmitter { // Remove account from the preferences controller this.preferencesController.removeAddress(address) // Remove account from the account tracker controller - this.accountTracker.removeAccount(address) + this.accountTracker.removeAccount([address]) + // Remove account from the keyring await this.keyringController.removeAccount(address) return address |