Fix for file check

This commit is contained in:
Matthew Little 2014-05-29 15:59:19 -06:00
parent f83f5b371b
commit 8a725c0438

View File

@ -361,7 +361,7 @@ var processCoinSwitchCommand = function(params, options, reply){
};
var startSwitchingPaymentProcessor = function(){
if (!fs.exists('libs/switchingPaymentProcessor.js')) return;
if (!fs.existsSync('libs/switchingPaymentProcessor.js')) return;
var worker = cluster.fork({
workerType: 'switchingPaymentProcessor',