Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Aug 11, 2018
1 parent e3a3c9a commit c8f6dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
const port = activeBlockTemplate[algo].port;
if (!(global.coinFuncs.algoTypeStr(port) in miner.algos) && !(global.coinFuncs.algoShortTypeStr(port) in miner.algos)) return;
let algoHashFactor = global.config.daemon["algoHashFactor" + algo];
if (this.curr_algo === algo) algoHashFactor *= 1.05;
if (miner.curr_algo === algo) algoHashFactor *= 1.05;
if (algo in miner.algos_perf && miner.algos_perf[algo] * algoHashFactor > best_algo_perf) {
debug(miner.logString + ": " + algo + ": " + miner.algos_perf[algo] * algoHashFactor);
best_algo = algo;
Expand Down

0 comments on commit c8f6dd3

Please sign in to comment.