aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-27 21:22:19 +0800
committerDan <danjm.com@gmail.com>2018-03-27 21:22:19 +0800
commitf74e802026538e81d7d224eb72353b85eb2ac149 (patch)
tree00d8775f5e7f0e688b2f858f534bdc0788699fc4 /app
parentbe2254b880c8c7bc17a139c3137dbe1e11c6060d (diff)
downloadtangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar.gz
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar.bz2
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar.lz
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar.xz
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.tar.zst
tangerine-wallet-browser-f74e802026538e81d7d224eb72353b85eb2ac149.zip
Undo unnecessary line removals.
Diffstat (limited to 'app')
-rw-r--r--app/scripts/background.js1
-rw-r--r--app/scripts/metamask-controller.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 98de1d278..7782fc41e 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -94,6 +94,7 @@ function setupController (initState, initLangCode) {
//
// MetaMask Controller
//
+
const controller = new MetamaskController({
// User confirmation callbacks:
showUnconfirmedMessage: triggerUi,
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 6e82f6011..ff7b66572 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -57,6 +57,7 @@ module.exports = class MetamaskController extends EventEmitter {
this.defaultMaxListeners = 20
this.sendUpdate = debounce(this.privateSendUpdate.bind(this), 200)
+
this.opts = opts
const initState = opts.initState || {}
this.recordFirstTimeInfo(initState)