aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 269bc5afd..e7e96a472 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -7,7 +7,6 @@ const HostStore = require('./lib/remote-store.js').HostStore
const Web3 = require('web3')
const ConfigManager = require('./lib/config-manager')
const extension = require('./lib/extension')
-const developmentMode = require('./config').developmentMode
module.exports = class MetamaskController {
@@ -95,9 +94,7 @@ module.exports = class MetamaskController {
function logger (err, request, response) {
if (err) return console.error(err)
if (!request.isMetamaskInternal) {
- if (developmentMode) {
- console.log(`RPC (${originDomain}):`, request, '->', response)
- }
+ console.log(`RPC (${originDomain}):`, request, '->', response)
if (response.error) {
console.error('Error in RPC response:\n', response.error)
}
@@ -221,9 +218,7 @@ module.exports = class MetamaskController {
// Log blocks
processBlock (block) {
- if (developmentMode) {
- console.log(`BLOCK CHANGED: #${block.number.toString('hex')} 0x${block.hash.toString('hex')}`)
- }
+ console.log(`BLOCK CHANGED: #${block.number.toString('hex')} 0x${block.hash.toString('hex')}`)
this.verifyNetwork()
}