From df0b89074b6939081828ebc214bc26ffa5a89659 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 29 Nov 2016 15:50:26 -0800 Subject: [PATCH] Return promise correctly from setSelectedAddress --- app/scripts/keyring-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index 900b3ca25..ac9409dbb 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -282,7 +282,7 @@ module.exports = class KeyringController extends EventEmitter { setSelectedAccount (address) { var addr = normalize(address) this.configManager.setSelectedAccount(addr) - Promise.resolve(addr) + return Promise.resolve(addr) } // Save Account Label