|
|
|
@ -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 |
|
|
|
|