1
0
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:
kumavis 2018-06-05 12:36:15 -07:00
parent 36a0574f56
commit 60e61e6834

View File

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