aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-26 15:50:27 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-26 15:50:27 +0800
commit1dfc0f74bf578524107b796672f96eb71a2fed62 (patch)
treea1b0bc8c7e57905de10535cd9ce0033dee5dcd0b
parent7cd42ae9ba07b04bae8e86be1536610ea4931f51 (diff)
downloadtangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar.gz
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar.bz2
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar.lz
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar.xz
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.tar.zst
tangerine-wallet-browser-1dfc0f74bf578524107b796672f96eb71a2fed62.zip
Correct inpage to be not modified
-rw-r--r--app/scripts/inpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index 10e5ea39b..ec764535e 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -1,6 +1,6 @@
/*global Web3*/
cleanContextForImports()
-require('web3')
+require('web3/dist/web3.min.js')
const LocalMessageDuplexStream = require('post-message-stream')
// const PingStream = require('ping-pong-stream/ping')
// const endOfStream = require('end-of-stream')
@@ -30,7 +30,7 @@ var web3 = new Web3(inpageProvider)
web3.setProvider = function () {
console.log('MetaMask - overrode web3.setProvider')
}
-console.log('MetaMask - injected modified web3')
+console.log('MetaMask - injected web3')
// export global web3, with usage-detection
setupDappAutoReload(web3, inpageProvider.publicConfigStore)