mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
HW: dont submit bad shares
This commit is contained in:
parent
fced503ed6
commit
e649aa3906
@ -4185,7 +4185,7 @@ static bool hashtest(struct thr_info *thr, const struct work *work)
|
|||||||
thr->cgpu->api->name, thr->cgpu->device_id);
|
thr->cgpu->api->name, thr->cgpu->device_id);
|
||||||
hw_errors++;
|
hw_errors++;
|
||||||
thr->cgpu->hw_errors++;
|
thr->cgpu->hw_errors++;
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool test = fulltest(work->hash, work->target);
|
bool test = fulltest(work->hash, work->target);
|
||||||
|
Loading…
Reference in New Issue
Block a user