|
|
@ -800,7 +800,8 @@ module.exports = class MetamaskController extends EventEmitter { |
|
|
|
// Remove account from the preferences controller
|
|
|
|
// Remove account from the preferences controller
|
|
|
|
this.preferencesController.removeAddress(address) |
|
|
|
this.preferencesController.removeAddress(address) |
|
|
|
// Remove account from the account tracker controller
|
|
|
|
// Remove account from the account tracker controller
|
|
|
|
this.accountTracker.removeAccount(address) |
|
|
|
this.accountTracker.removeAccount([address]) |
|
|
|
|
|
|
|
|
|
|
|
// Remove account from the keyring
|
|
|
|
// Remove account from the keyring
|
|
|
|
await this.keyringController.removeAccount(address) |
|
|
|
await this.keyringController.removeAccount(address) |
|
|
|
return address |
|
|
|
return address |
|
|
|