metamask - memState - adopt configManager.isDisclaimerConfirmed from keyring controller

feature/default_network_editable
kumavis 8 years ago
parent bcff47d9aa
commit 4c0cb9d92e
  1. 1
      app/scripts/keyring-controller.js
  2. 1
      app/scripts/metamask-controller.js

@ -82,7 +82,6 @@ class KeyringController extends EventEmitter {
keyrings: memState.keyrings, keyrings: memState.keyrings,
// configManager // configManager
seedWords: this.configManager.getSeedWords(), seedWords: this.configManager.getSeedWords(),
isDisclaimerConfirmed: this.configManager.getConfirmedDisclaimer(),
} }
return result return result
} }

@ -189,6 +189,7 @@ module.exports = class MetamaskController extends EventEmitter {
currentFiat: this.configManager.getCurrentFiat(), currentFiat: this.configManager.getCurrentFiat(),
conversionRate: this.configManager.getConversionRate(), conversionRate: this.configManager.getConversionRate(),
conversionDate: this.configManager.getConversionDate(), conversionDate: this.configManager.getConversionDate(),
isDisclaimerConfirmed: this.configManager.getConfirmedDisclaimer(),
} }
) )
} }

Loading…
Cancel
Save