Revert to previous anonymous function for promise.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 20cea5b2f5
commit 4826f7c0a0
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
  1. 4
      app/scripts/keyring-controller.js

@ -142,7 +142,9 @@ module.exports = class KeyringController extends EventEmitter {
.then(() => {
return this.persistAllKeyrings()
})
.then(cb)
.then(() => {
cb()
})
.catch((err) => {
cb(err)
})

Loading…
Cancel
Save