diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 02:02:50 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 02:02:50 +0800 |
commit | 2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c (patch) | |
tree | 223e525e7be49cd85ab445a4ff27ec11ec4cf3a8 | |
parent | 84b3415b4479eb849b69d77a7e178c67fcaaf3fb (diff) | |
download | tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar.gz tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar.bz2 tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar.lz tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar.xz tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.tar.zst tangerine-wallet-browser-2b1a9c5ae880afe1a5bf2d11eefbbdf26dc6e27c.zip |
Create a Transaction from within the dapp
-rw-r--r-- | library/controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/controller.js b/library/controller.js index c3f2fa5fa..126e972c8 100644 --- a/library/controller.js +++ b/library/controller.js @@ -6,9 +6,9 @@ const background = new SWcontroller({ fileName: '/popup/sw-build.js', }) +const pageStream = new ParentStream() background.on('ready', (_) => { // var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller)) - let pageStream = new ParentStream() let swStream = SwStream(background.controller) pageStream.pipe(swStream).pipe(pageStream) console.log('********************WOOP*********************') |