Unverified Commit 8f98313f authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #29 from ethereum/fixWeb3Bug

Fix web3 version
parents 48967382 b6dd52e7
{ {
"name": "remixd", "name": "remixd",
"version": "0.1.5", "version": "0.1.6",
"description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)", "description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)",
"main": "./src/main.js", "main": "./src/main.js",
"scripts": { "scripts": {
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"websocket": "^1.0.24", "websocket": "^1.0.24",
"stdout": "0.0.3", "stdout": "0.0.3",
"serve": "^6.3.1", "serve": "^6.3.1",
"web3": "^0.20.4" "web3": "^1.0.0-beta.30"
}, },
"bin": { "bin": {
"remixd": "./src/main.js" "remixd": "./src/main.js"
......
...@@ -78,6 +78,7 @@ function connectWeb3 (ipcpath, cb) { ...@@ -78,6 +78,7 @@ function connectWeb3 (ipcpath, cb) {
if (error) { if (error) {
console.log('still trying to connect to node... ' + error) console.log('still trying to connect to node... ' + error)
} else { } else {
console.log('web3', web3.version)
cb(web3) cb(web3)
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment