1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

Set opt_scrypt drv max diff for correctness.

This commit is contained in:
Con Kolivas 2013-04-18 17:22:38 +10:00
parent bc0e71448e
commit d49ecf198e

View File

@ -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);
}
}