From 19302778ee0dd0535867cde29d4a5ce56d573dec Mon Sep 17 00:00:00 2001 From: frankiebee Date: Wed, 29 Mar 2017 16:19:49 -0700 Subject: [PATCH] fix stream --- library/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/popup.js b/library/popup.js index a9d934c43..0c297d9a2 100644 --- a/library/popup.js +++ b/library/popup.js @@ -21,7 +21,7 @@ const background = new SWcontroller({ background.on('ready', (readSw) => { // var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller)) // startPopup(inpageProvider) - swStream = SwStream({ + let swStream = SwStream({ serviceWorker: background.controller, }) startPopup()