mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix state persistence
This commit is contained in:
parent
4451593867
commit
c8540261c1
@ -142,7 +142,7 @@ function setupController (initState, client) {
|
||||
// diskStore
|
||||
// )
|
||||
controller.store.subscribe((state) => {
|
||||
dbController.put(versionifyData(controller.store))
|
||||
dbController.put(versionifyData(state))
|
||||
.catch((err) => {console.error(err)})
|
||||
})
|
||||
function versionifyData(state) {
|
||||
|
Loading…
Reference in New Issue
Block a user