aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-27 14:31:06 +0800
committerkumavis <aaron@kumavis.me>2017-01-27 14:31:06 +0800
commit95b846ba070e84f0f413ad126d590bb656b6e408 (patch)
tree186a820895c0c5e4e95b7926c31fec59dcbed323
parentacdd168fbc973310b1da165c800c0833a51edaac (diff)
downloadtangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar.gz
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar.bz2
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar.lz
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar.xz
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.tar.zst
tangerine-wallet-browser-95b846ba070e84f0f413ad126d590bb656b6e408.zip
keymanager - small clean
-rw-r--r--app/scripts/keyring-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index 61840af4c..a4bee8ae1 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -204,8 +204,8 @@ module.exports = class KeyringController extends EventEmitter {
this.keyrings.push(keyring)
return this.setupAccounts(accounts)
})
- .then(() => { return this.password })
- .then(this.persistAllKeyrings.bind(this))
+ .then(() => this.persistAllKeyrings())
+ .then(() => this.fullUpdate())
.then(() => {
return keyring
})