aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mascara/src/background.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/mascara/src/background.js b/mascara/src/background.js
index fbfffa9b8..6f9fb3d13 100644
--- a/mascara/src/background.js
+++ b/mascara/src/background.js
@@ -80,12 +80,6 @@ function setupController (initState, client) {
})
global.metamaskController = controller
- // setup state persistence
- // pipe(
- // controller.store,
- // storeTransform(versionifyData),
- // diskStore
- // )
controller.store.subscribe((state) => {
versionifyData(state)
.then((versionedData) => dbController.put(versionedData))
@@ -104,9 +98,7 @@ function setupController (initState, client) {
//
// connect to other contexts
//
- /*
- need to write a service worker stream for this
- */
+
connectionListener.on('remote', (portStream, messageEvent) => {
console.log('REMOTE CONECTION FOUND***********')
connectRemote(portStream, messageEvent.data.context)