aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-06-14 08:40:28 +0800
committerkumavis <aaron@kumavis.me>2018-06-14 08:40:28 +0800
commit43e805805ea49b36034837f081f17e4ec5d86020 (patch)
tree78ad22f4b6641b1acf703c81662d61368f156ca3 /app/scripts/metamask-controller.js
parent451d05a400302d443e13d4d75a7094bf20e86d97 (diff)
downloadtangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar.gz
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar.bz2
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar.lz
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar.xz
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.tar.zst
tangerine-wallet-browser-43e805805ea49b36034837f081f17e4ec5d86020.zip
diagnostics - temporarily disable
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index e444180cc..6e3425cc2 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -46,7 +46,6 @@ const GWEI_BN = new BN('1000000000')
const percentile = require('percentile')
const seedPhraseVerifier = require('./lib/seed-phrase-verifier')
const cleanErrorStack = require('./lib/cleanErrorStack')
-const DiagnosticsReporter = require('./lib/diagnostics-reporter')
const log = require('loglevel')
module.exports = class MetamaskController extends EventEmitter {
@@ -65,12 +64,6 @@ module.exports = class MetamaskController extends EventEmitter {
const initState = opts.initState || {}
this.recordFirstTimeInfo(initState)
- // metamask diagnostics reporter
- this.diagnostics = opts.diagnostics || new DiagnosticsReporter({
- firstTimeInfo: initState.firstTimeInfo,
- version,
- })
-
// platform-specific api
this.platform = opts.platform
@@ -92,7 +85,6 @@ module.exports = class MetamaskController extends EventEmitter {
this.preferencesController = new PreferencesController({
initState: initState.PreferencesController,
initLangCode: opts.initLangCode,
- diagnostics: this.diagnostics,
})
// currency controller