Browse Source

Set opt_scrypt drv max diff for correctness.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
d49ecf198e
  1. 2
      driver-cpu.c

2
driver-cpu.c

@ -763,6 +763,8 @@ static void cpu_detect()
cgpu->deven = DEV_ENABLED; cgpu->deven = DEV_ENABLED;
cgpu->threads = 1; cgpu->threads = 1;
cgpu->kname = algo_names[opt_algo]; cgpu->kname = algo_names[opt_algo];
if (opt_scrypt)
cgpu->drv->max_diff = 0xffffffff;
add_cgpu(cgpu); add_cgpu(cgpu);
} }
} }

Loading…
Cancel
Save