1
0
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:
Dan Finlay 2016-11-29 15:50:26 -08:00
parent 5bf1018d75
commit df0b89074b

View File

@ -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