diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 01:53:43 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 01:53:43 +0800 |
commit | 84b3415b4479eb849b69d77a7e178c67fcaaf3fb (patch) | |
tree | cb6b0d50c9fd4f24283edffe6ba05c93dadef113 /library/lib/setup-provider.js | |
parent | a20a237282c38da86b03625d08b48c2e58e83523 (diff) | |
download | tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.gz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.bz2 tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.lz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.xz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.zst tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.zip |
WIP: lost enital call from dapp to getAccounts
Diffstat (limited to 'library/lib/setup-provider.js')
-rw-r--r-- | library/lib/setup-provider.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/lib/setup-provider.js b/library/lib/setup-provider.js index 68be99c9e..a99fc1c68 100644 --- a/library/lib/setup-provider.js +++ b/library/lib/setup-provider.js @@ -10,15 +10,15 @@ function getProvider(){ console.log('MetaMask ZeroClient - using environmental web3 provider') return global.web3.currentProvider } - console.log('MetaMask ZeroClient - injecting zero-client iframe!') var iframeStream = setupIframe({ - zeroClientProvider: 'http://127.0.0.1:9001', + zeroClientProvider: 'http://localhost:9001', sandboxAttributes: ['allow-scripts', 'allow-popups', 'allow-same-origin'], container: document.body, }) var inpageProvider = new MetamaskInpageProvider(iframeStream) + console.log('ABOUT TO RETURN INPAGE') return inpageProvider } |