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:
parent
20cea5b2f5
commit
4826f7c0a0
@ -142,7 +142,9 @@ module.exports = class KeyringController extends EventEmitter {
|
||||
.then(() => {
|
||||
return this.persistAllKeyrings()
|
||||
})
|
||||
.then(cb)
|
||||
.then(() => {
|
||||
cb()
|
||||
})
|
||||
.catch((err) => {
|
||||
cb(err)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user