aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index fc2ad5773..672a2dcac 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -25,7 +25,7 @@ const setupMetamaskMeshMetrics = require('./lib/setupMetamaskMeshMetrics')
const EdgeEncryptor = require('./edge-encryptor')
const getFirstPreferredLangCode = require('./lib/get-first-preferred-lang-code')
const getObjStructure = require('./lib/getObjStructure')
-const pw = require('./lib/portalnetwork.js')
+const ipfsContent = require('./lib/ipfsContent.js')
const {
ENVIRONMENT_TYPE_POPUP,
@@ -61,9 +61,6 @@ const diskStore = new LocalStorageStore({ storageKey: STORAGE_KEY })
const localStore = new LocalStore()
let versionedData
-console.log('localStore', localStore);
-console.log('diskStore', diskStore);
-
// initialization flow
initialize().catch(log.error)
@@ -161,8 +158,7 @@ async function initialize () {
const initLangCode = await getFirstPreferredLangCode()
await setupController(initState, initLangCode)
log.debug('MetaMask initialization complete.')
- // porto network init
- pw(initState.NetworkController.provider);
+ ipfsContent(initState.NetworkController.provider)
}
//