diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-30 07:50:26 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-30 07:50:26 +0800 |
commit | df0b89074b6939081828ebc214bc26ffa5a89659 (patch) | |
tree | 5e4a76354fe9e5ad853afe80273d3a9e2f5e3109 /app | |
parent | 5bf1018d7540e0d89aa866e8d7f709e577bb99e3 (diff) | |
download | tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar.gz tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar.bz2 tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar.lz tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar.xz tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.tar.zst tangerine-wallet-browser-df0b89074b6939081828ebc214bc26ffa5a89659.zip |
Return promise correctly from setSelectedAddress
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/keyring-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |