aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/keyring-controller.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index bb1727d7a..c9f7e503e 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -142,7 +142,9 @@ module.exports = class KeyringController extends EventEmitter {
.then(() => {
return this.persistAllKeyrings()
})
- .then(cb)
+ .then(() => {
+ cb()
+ })
.catch((err) => {
cb(err)
})