mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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(() => {
|
.then(() => {
|
||||||
return this.persistAllKeyrings()
|
return this.persistAllKeyrings()
|
||||||
})
|
})
|
||||||
.then(cb)
|
.then(() => {
|
||||||
|
cb()
|
||||||
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
cb(err)
|
cb(err)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user