aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-23 04:57:15 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-23 04:57:15 +0800
commit606c0b761827df86ded4763a67f38a98738014e8 (patch)
tree793f4d5f230a682edfbab87d7bb44b6d52742cfe
parenta67b4d7131b05256dbef69fc34cbae3944c1e43e (diff)
downloadtangerine-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.js2
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')
}