diagnostics - fix reportMultipleKeyrings call

feature/default_network_editable
kumavis 7 years ago
parent 36a0574f56
commit 60e61e6834
  1. 2
      app/scripts/metamask-controller.js

@ -497,7 +497,7 @@ module.exports = class MetamaskController extends EventEmitter {
// verify keyrings // verify keyrings
const nonSimpleKeyrings = this.keyringController.keyrings.filter(keyring => keyring.type !== 'Simple Key Pair') const nonSimpleKeyrings = this.keyringController.keyrings.filter(keyring => keyring.type !== 'Simple Key Pair')
if (nonSimpleKeyrings.length > 1 && this.diagnostics) { if (nonSimpleKeyrings.length > 1 && this.diagnostics) {
await this.reportMultipleKeyrings(nonSimpleKeyrings) await this.diagnostics.reportMultipleKeyrings(nonSimpleKeyrings)
} }
await this.preferencesController.syncAddresses(accounts) await this.preferencesController.syncAddresses(accounts)

Loading…
Cancel
Save