diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index 51369eac8..224d6ba7a 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -178,7 +178,7 @@ module.exports = class KeyringController extends EventEmitter { const seedWords = firstKeyring.serialize().mnemonic this.configManager.setSeedWords(seedWords) - if (cb && typeof cb === 'function') { + if (cb) { cb() this.emit('update') }