app/scripts/metamask-controller.js
// Also used when revealing the seed words in the confirmation view.
Also used when revealing the seed words in the confirmation view.
Also used when revealing the seed words in the confirmation view .
placeSeedWords (cb) {
    const primaryKeyring = this.keyringController.getKeyringsByType('HD Key Tree')[0]
    if (!primaryKeyring) return cb(new Error('MetamaskController - No HD Key Tree found'))
    primaryKeyring.serialize()
    .then((serialized) => {
      const seedWords = serialized.mnemonic
      this.configManager.setSeedWords(seedWords)
      cb()
    })
  }
placeSeedWords ( cb ) { const primaryKeyring = this . keyringController . getKeyringsByType ( 'HD Key Tree' ) [ 0 ] if ( ! primaryKeyring ) return cb ( new Error ( 'MetamaskController - No HD Key Tree found' ) ) primaryKeyring . serialize ( ) . then ( ( serialized ) => { const seedWords = serialized . mnemonic this . configManager . setSeedWords ( seedWords ) cb ( ) } ) }
Also used when revealing the seed words in the confirmation view.
Also used when revealing the seed words in the confirmation view .