aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/inpage-provider.js
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-04-27 12:05:45 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-04-27 12:05:45 +0800
commit6bdb4c87288a522d9ea2e984bc1f6436d6c7369a (patch)
tree62c09f13aa36f582ddfbbca1b92302069035e061 /app/scripts/lib/inpage-provider.js
parentafbe6f5e5fa18b663cfe68c40a05bcacda73e3ac (diff)
downloadtangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.gz
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.bz2
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.lz
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.xz
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.zst
tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.zip
Fix linting warnings
Diffstat (limited to 'app/scripts/lib/inpage-provider.js')
-rw-r--r--app/scripts/lib/inpage-provider.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index 92936de2f..e5e398e24 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -85,7 +85,7 @@ MetamaskInpageProvider.prototype.send = function (payload) {
break
case 'net_version':
- let networkVersion = self.publicConfigStore.getState().networkVersion
+ const networkVersion = self.publicConfigStore.getState().networkVersion
result = networkVersion
break
@@ -125,7 +125,7 @@ function eachJsonMessage (payload, transformFn) {
}
}
-function logStreamDisconnectWarning(remoteLabel, err){
+function logStreamDisconnectWarning (remoteLabel, err) {
let warningMsg = `MetamaskInpageProvider - lost connection to ${remoteLabel}`
if (err) warningMsg += '\n' + err.stack
console.warn(warningMsg)