1
0
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:
Kano 2012-09-12 20:10:00 +10:00
parent fced503ed6
commit e649aa3906

View File

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