diff --git a/lib/node.js b/lib/node.js index f853035..6fdf1fb 100644 --- a/lib/node.js +++ b/lib/node.js @@ -25,7 +25,7 @@ if(process.env.NODE_ENV === 'production') INSTANCE_NAME = shelljs.exec('ec2metadata --instance-id', {silent: true}).output; } - ETH_VERSION = shelljs.exec((process.env.ETH_IMPLEMENTATION === 'go' ? 'ethereum -version' : 'eth -V'), {silent: true}).output; + ETH_VERSION = shelljs.exec((process.env.ETH_IMPLEMENTATION === 'go' ? 'ethereum version' : 'eth -V'), {silent: true}).output; } var socket = new Socket(process.env.WS_SERVER || 'ws://localhost:3000');