aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-12 09:06:07 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-12 09:06:07 +0800
commit4826f7c0a095da8658bfae6a1d7e982cd81ffd3b (patch)
tree84d068447db33e126d40387ce52374029ca07ce5 /app/scripts
parent20cea5b2f5429cc2574f755fcba0ce5bb12f1a13 (diff)
downloadtangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar.gz
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar.bz2
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar.lz
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar.xz
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.tar.zst
tangerine-wallet-browser-4826f7c0a095da8658bfae6a1d7e982cd81ffd3b.zip
Revert to previous anonymous function for promise.
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)
})