fixed eth_implementation bug

This commit is contained in:
cubedro 2015-03-04 23:39:02 +02:00
parent 9714d6fe7a
commit bf72650d7e

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');