mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix bug where full localStorage would crash on start
This commit is contained in:
parent
e001c0900b
commit
e196b6dcb7
@ -1,6 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## Current Master
|
||||
|
||||
- Fixes bug where MetaMask would not open once its storage grew too large.
|
||||
- Updates design of new-ui Add Token screen
|
||||
- New-ui can send to ens addresses
|
||||
- Update new-ui button styles
|
||||
|
@ -84,7 +84,6 @@ async function loadStateFromPersistence () {
|
||||
|
||||
// write to disk
|
||||
if (localStore.isSupported) localStore.set(versionedData)
|
||||
diskStore.putState(versionedData)
|
||||
|
||||
// return just the data
|
||||
return versionedData.data
|
||||
@ -121,7 +120,6 @@ function setupController (initState) {
|
||||
debounce(1000),
|
||||
storeTransform(versionifyData),
|
||||
storeTransform(syncDataWithExtension),
|
||||
asStream(diskStore),
|
||||
(error) => {
|
||||
log.error('pump hit error', error)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user