Fixed typo preventing mpos mode

This commit is contained in:
Matt 2014-03-28 18:05:15 -06:00
parent b6af244444
commit 3ec38e5523
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ var spawnPoolWorkers = function(portalConfig, poolConfigs){
Object.keys(poolConfigs).forEach(function(coin){
var p = poolConfigs[coin];
var internalEnabled = p.shareProcessing && p.shareProcessing.internal && p.shareProcessing.internal.enabled;
var mposEnabled = p.shareProcesssing && p.shareProcessing.mpos && p.shareProcessing.mpos.enabled;
var mposEnabled = p.shareProcessing && p.shareProcessing.mpos && p.shareProcessing.mpos.enabled;
if (!internalEnabled && !mposEnabled){
logger.error('Master', coin, 'Share processing is not configured so a pool cannot be started for this coin.');