diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-05-01 03:46:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 03:46:20 +0800 |
commit | 753de30b3b2ed732e7533dc086f8f47a4ac7f7f4 (patch) | |
tree | 72c6f6519cc20c7419f68b55f483c17601480964 | |
parent | 1641dc92f54ce344fd412f3ce5c6e5adb6eb43b8 (diff) | |
parent | 7ddbd1a193ed4e6d087480cf17a6b486bcd10826 (diff) | |
download | tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar.gz tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar.bz2 tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar.lz tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar.xz tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.tar.zst tangerine-wallet-browser-753de30b3b2ed732e7533dc086f8f47a4ac7f7f4.zip |
Merge pull request #1359 from MetaMask/FixBlockPollingv3.6.1
Fix block polling
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | app/manifest.json | 2 | ||||
-rw-r--r-- | app/scripts/metamask-controller.js | 12 | ||||
-rw-r--r-- | package.json | 2 |
4 files changed, 8 insertions, 11 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cd71a0339..517a1830b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ ## Current Master +## 3.6.1 2017-4-25 + - Fix bug where error was reported in debugger console when Chrome opened a new window. +- Fix bug where block-tracker could stop polling for new blocks. ## 3.6.0 2017-4-25 diff --git a/app/manifest.json b/app/manifest.json index d5f66173c..3a9b0b29f 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,7 +1,7 @@ { "name": "MetaMask", "short_name": "Metamask", - "version": "3.6.0", + "version": "3.6.1", "manifest_version": 2, "author": "https://metamask.io", "description": "Ethereum Browser Extension", diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index b91b5efe8..2e4bf07e1 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -341,9 +341,7 @@ module.exports = class MetamaskController extends EventEmitter { console.error('Error in RPC response:\n', response.error) } if (request.isMetamaskInternal) return - if (global.METAMASK_DEBUG) { - console.log(`RPC (${originDomain}):`, request, '->', response) - } + log.info(`RPC (${originDomain}):`, request, '->', response) } } @@ -591,9 +589,7 @@ module.exports = class MetamaskController extends EventEmitter { // Log blocks logBlock (block) { - if (global.METAMASK_DEBUG) { - console.log(`BLOCK CHANGED: #${block.number.toString('hex')} 0x${block.hash.toString('hex')}`) - } + log.info(`BLOCK CHANGED: #${block.number.toString('hex')} 0x${block.hash.toString('hex')}`) this.verifyNetwork() } @@ -682,9 +678,7 @@ module.exports = class MetamaskController extends EventEmitter { this.setNetworkState('loading') return } - if (global.METAMASK_DEBUG) { - console.log('web3.getNetwork returned ' + network) - } + log.info('web3.getNetwork returned ' + network) this.setNetworkState(network) }) } diff --git a/package.json b/package.json index 2e7887e0c..6e83b3560 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "valid-url": "^1.0.9", "vreme": "^3.0.2", "web3": "0.18.2", - "web3-provider-engine": "^12.0.2", + "web3-provider-engine": "^12.0.3", "web3-stream-provider": "^2.0.6", "xtend": "^4.0.1" }, |