aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-11-28 07:59:32 +0800
committerGitHub <noreply@github.com>2017-11-28 07:59:32 +0800
commit634102df6331161c21593c0f8cab91a2093209e1 (patch)
treeaa563e352f3fb2702874590a89e0d87e4236d474 /app/scripts
parentb17a799de6b04e6971eb3a33e7baa76f8236cad9 (diff)
downloadtangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar.gz
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar.bz2
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar.lz
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar.xz
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.tar.zst
tangerine-wallet-browser-634102df6331161c21593c0f8cab91a2093209e1.zip
network controller - warn via log.warn
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/network.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js
index 2259efaeb..f3349d9a0 100644
--- a/app/scripts/controllers/network.js
+++ b/app/scripts/controllers/network.js
@@ -53,7 +53,7 @@ module.exports = class NetworkController extends EventEmitter {
lookupNetwork () {
// Prevent firing when provider is not defined.
if (!this.ethQuery || !this.ethQuery.sendAsync) {
- return console.warn('NetworkController - lookupNetwork aborted due to missing ethQuery')
+ return log.warn('NetworkController - lookupNetwork aborted due to missing ethQuery')
}
this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => {
if (err) return this.setNetworkState('loading')