diff options
-rw-r--r-- | app/scripts/keyring-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
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') } |