From 95b846ba070e84f0f413ad126d590bb656b6e408 Mon Sep 17 00:00:00 2001 From: kumavis Date: Thu, 26 Jan 2017 22:31:06 -0800 Subject: [PATCH] keymanager - small clean --- app/scripts/keyring-controller.js | 4 ++-- 1 file 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 })