mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
diagnostics - fix reportMultipleKeyrings call
This commit is contained in:
parent
36a0574f56
commit
60e61e6834
@ -497,7 +497,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
// verify keyrings
|
||||
const nonSimpleKeyrings = this.keyringController.keyrings.filter(keyring => keyring.type !== 'Simple Key Pair')
|
||||
if (nonSimpleKeyrings.length > 1 && this.diagnostics) {
|
||||
await this.reportMultipleKeyrings(nonSimpleKeyrings)
|
||||
await this.diagnostics.reportMultipleKeyrings(nonSimpleKeyrings)
|
||||
}
|
||||
|
||||
await this.preferencesController.syncAddresses(accounts)
|
||||
|
Loading…
Reference in New Issue
Block a user