Coin names are now converted to lowercase.

This commit is contained in:
Matt 2014-05-07 12:38:39 -06:00
parent d8444e6a6c
commit 81b7f50536
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,6 @@ catch(e){
}
if (cluster.isWorker){
switch(process.env.workerType){
@ -132,6 +131,7 @@ var buildPoolConfigs = function(){
var coinProfile = JSON.parse(JSON.minify(fs.readFileSync(coinFilePath, {encoding: 'utf8'})));
poolOptions.coin = coinProfile;
poolOptions.coin.name = poolOptions.coin.name.toLowerCase();
if (poolOptions.coin.name in configs){