Skip to content

Commit c8f6dd3

Browse files
committed
Fixed typo
1 parent e3a3c9a commit c8f6dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
711711
const port = activeBlockTemplate[algo].port;
712712
if (!(global.coinFuncs.algoTypeStr(port) in miner.algos) && !(global.coinFuncs.algoShortTypeStr(port) in miner.algos)) return;
713713
let algoHashFactor = global.config.daemon["algoHashFactor" + algo];
714-
if (this.curr_algo === algo) algoHashFactor *= 1.05;
714+
if (miner.curr_algo === algo) algoHashFactor *= 1.05;
715715
if (algo in miner.algos_perf && miner.algos_perf[algo] * algoHashFactor > best_algo_perf) {
716716
debug(miner.logString + ": " + algo + ": " + miner.algos_perf[algo] * algoHashFactor);
717717
best_algo = algo;

0 commit comments

Comments
 (0)