1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Revert to previous anonymous function for promise.

This commit is contained in:
Kevin Serrano 2016-11-11 17:06:07 -08:00
parent 20cea5b2f5
commit 4826f7c0a0
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

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