mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Correct inpage to be not modified
This commit is contained in:
parent
7cd42ae9ba
commit
1dfc0f74bf
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user