diff options
logging - add localhost interception message
-rw-r--r-- | app/scripts/inpage.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js index 8de02b69d..b574cd488 100644 --- a/app/scripts/inpage.js +++ b/app/scripts/inpage.js @@ -86,15 +86,18 @@ remoteProvider.send = function(payload){ var web3 = new Web3(remoteProvider) window.web3 = web3 web3.setProvider = function(){ - console.log('MetaMask Extension - overrode web3.setProvider') + console.log('MetaMask - overrode web3.setProvider') } -console.log('MetaMask Extension - injected web3') +console.log('MetaMask - injected web3') // // intercept local node requests // + +console.log('MetaMask - intercepting localhost:8545 requests') + fauxJax.on('request', function(req){ // check if local node request if (req.requestURL.indexOf('localhost:8545') !== -1) { |