Return promise correctly from setSelectedAddress

feature/default_network_editable
Dan Finlay 8 years ago
parent 5bf1018d75
commit df0b89074b
  1. 2
      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

Loading…
Cancel
Save