Skip to content

Commit b620189

Browse files
Update init.js
1 parent 1c9030e commit b620189

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

init.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ var path = require('path');
33
var os = require('os');
44
var cluster = require('cluster');
55

6-
var async = require('async');
76
var extend = require('extend');
87

98
var redis = require('redis');
@@ -19,10 +18,6 @@ var algos = require('stratum-pool/lib/algoProperties.js');
1918

2019
JSON.minify = JSON.minify || require("node-json-minify");
2120

22-
if (!fs.existsSync('config.json')) {
23-
console.log('config.json file does not exist. Read the installation/setup instructions.');
24-
return;
25-
}
2621

2722
var portalConfig = JSON.parse(JSON.minify(fs.readFileSync("config.json", { encoding: 'utf8' })));
2823
var poolConfigs;

0 commit comments

Comments
 (0)