mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Return promise correctly from setSelectedAddress
This commit is contained in:
parent
5bf1018d75
commit
df0b89074b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user