Skip to content

Commit

Permalink
Difficulty fix for blake... pools were rejecting most shares.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuchner1 committed Mar 6, 2014
1 parent d8f3355 commit ec99908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work)

if (opt_algo == ALGO_SCRYPT || opt_algo == ALGO_SCRYPT_JANE)
diff_to_target(work->target, sctx->job.diff / 65536.0);
else if (opt_algo == ALGO_KECCAK || opt_algo == ALGO_BLAKE)
else if (opt_algo == ALGO_KECCAK)
diff_to_target(work->target, sctx->job.diff / 256.0);
else
diff_to_target(work->target, sctx->job.diff);
Expand Down

0 comments on commit ec99908

Please sign in to comment.