diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-23 04:57:15 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-23 04:57:15 +0800 |
commit | 606c0b761827df86ded4763a67f38a98738014e8 (patch) | |
tree | 793f4d5f230a682edfbab87d7bb44b6d52742cfe | |
parent | a67b4d7131b05256dbef69fc34cbae3944c1e43e (diff) | |
download | tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar.gz tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar.bz2 tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar.lz tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar.xz tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.tar.zst tangerine-wallet-browser-606c0b761827df86ded4763a67f38a98738014e8.zip |
Remove callback type check
-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') } |