diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-03-27 06:25:26 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-03-27 06:25:26 +0800 |
commit | e196b6dcb7c9a0df059491b7f0d75b50d54c1b66 (patch) | |
tree | 9a89b40f61b232dca1e4cea1c7cf65f4384fa0ce /app | |
parent | e001c0900b5256c0c8769f0c3eb5d2007f5b18d3 (diff) | |
download | tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar.gz tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar.bz2 tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar.lz tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar.xz tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.tar.zst tangerine-wallet-browser-e196b6dcb7c9a0df059491b7f0d75b50d54c1b66.zip |
Fix bug where full localStorage would crash on start
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/background.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 8bd7766ad..7bbaa89d6 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -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) } |