Added password to config

This commit is contained in:
Michele Marcucci 2021-05-11 06:56:08 +02:00
parent f811bb5c8e
commit 6e2b17dbe6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 4591b417ce50d72b83014e90358f38a7da4295b1
Subproject commit b688799115a72fedb55a044a32a7ff2305dd41c2

View File

@ -76,7 +76,7 @@ const generate = async function (pools = null, settings = null ) {
const [poolHost, poolPort] = poolUrl.split(':');
let minerConfig = `-host ${poolHost} -port ${poolPort} -user ${mainPool.username} -brd_ocp ${voltage} -osc ${frequency}`;
let minerConfig = `-host ${poolHost} -port ${poolPort} -user ${mainPool.username} -pswd ${mainPool.password} -brd_ocp ${voltage} -osc ${frequency}`;
if (fanLow) minerConfig += ` ${fanLow}`;
if (fanHigh) minerConfig += ` ${fanHigh}`;