From cc7ec559b5e68a8bed1073b71e5aa493908a1945 Mon Sep 17 00:00:00 2001 From: djm34 Date: Mon, 17 Aug 2015 18:05:04 +0200 Subject: [PATCH] default difficulty for lyra2rev2 is now, 256 it doesn't require anymore --diff 2 --- ccminer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ccminer.cpp b/ccminer.cpp index 0dd2e46..7fc3717 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -1149,9 +1149,11 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work) diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty)); break; case ALGO_LYRA2: - case ALGO_LYRA2v2: diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty)); break; + case ALGO_LYRA2v2: + diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty)); + break; default: diff_to_target(work->target, sctx->job.diff / opt_difficulty); }