aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r--app/scripts/popup.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js
index 6a39da661..e9ca7cd71 100644
--- a/app/scripts/popup.js
+++ b/app/scripts/popup.js
@@ -17,7 +17,7 @@ injectCss(css)
async.parallel({
currentDomain: getCurrentDomain,
accountManager: connectToAccountManager,
-}, getNetworkVersion)
+}, setupApp)
function connectToAccountManager(cb){
// setup communication with background
@@ -65,13 +65,6 @@ function getCurrentDomain(cb){
})
}
-function getNetworkVersion(cb, results) {
- web3.version.getNetwork(function(err, result) {
- results.networkVersion = result
- setupApp(err, results)
- })
-}
-
function setupApp(err, opts){
if (err) {
alert(err.stack)