Skip to content

Commit

Permalink
fix account removal
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Aug 21, 2018
1 parent 887cad9 commit 34e3ec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34e3ec6

Please sign in to comment.