aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-10-24 03:10:49 +0800
committerGitHub <noreply@github.com>2017-10-24 03:10:49 +0800
commitb17a799de6b04e6971eb3a33e7baa76f8236cad9 (patch)
treee24a8c679e44f65f04ba05c185beb4f9e470a9df
parent61eea51310508714d753965e3055f533434001e7 (diff)
downloadtangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar.gz
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar.bz2
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar.lz
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar.xz
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.tar.zst
tangerine-wallet-browser-b17a799de6b04e6971eb3a33e7baa76f8236cad9.zip
Update network.js
-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 7f0cbd379..2259efaeb 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
+ return console.warn('NetworkController - lookupNetwork aborted due to missing ethQuery')
}
this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => {
if (err) return this.setNetworkState('loading')