From d49ecf198e5a0b4c2ea9f639543de8050a00b15a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 18 Apr 2013 17:22:38 +1000 Subject: [PATCH] Set opt_scrypt drv max diff for correctness. --- driver-cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver-cpu.c b/driver-cpu.c index 2f72abce..8f8b0d1f 100644 --- a/driver-cpu.c +++ b/driver-cpu.c @@ -763,6 +763,8 @@ static void cpu_detect() cgpu->deven = DEV_ENABLED; cgpu->threads = 1; cgpu->kname = algo_names[opt_algo]; + if (opt_scrypt) + cgpu->drv->max_diff = 0xffffffff; add_cgpu(cgpu); } }