Merge pull request #14 from cubedro/develop

fixed eth_implementation bug
This commit is contained in:
Marian OANCΞA 2015-03-04 23:39:16 +02:00
commit be51d7b922
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if(process.env.NODE_ENV === 'production')
{
INSTANCE_NAME = shelljs.exec('ec2metadata --instance-id', {silent: true}).output;
ETH_VERSION = shelljs.exec((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');