diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-09-27 04:56:09 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-09-27 04:56:09 +0800 |
commit | 9d1cb0f76dce203299200940f21e868f6a5efef3 (patch) | |
tree | b78ee58bb8c79ca27aa7be7490d3502ce9583b3b /app | |
parent | 4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a (diff) | |
download | tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar.gz tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar.bz2 tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar.lz tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar.xz tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.tar.zst tangerine-wallet-browser-9d1cb0f76dce203299200940f21e868f6a5efef3.zip |
network contoller - clean up unused code
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/network.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 00bdca2c3..dc9978043 100644 --- a/app/scripts/controllers/network.js +++ b/app/scripts/controllers/network.js @@ -114,10 +114,4 @@ module.exports = class NetworkController extends EventEmitter { log.info(`BLOCK CHANGED: #${block.number.toString('hex')} 0x${block.hash.toString('hex')}`) this.verifyNetwork() } - - _on (event, handler) { - if (!this._providerListeners[event]) this._providerListeners[event] = [] - this._providerListeners[event].push(handler) - this._provider.on(event, handler) - } } |