mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-09 22:38:01 +00:00
Give device info with share above target message.
This commit is contained in:
parent
f8b9e41f28
commit
5dad99caf6
@ -6053,7 +6053,8 @@ bool submit_tested_work(struct thr_info *thr, struct work *work)
|
|||||||
update_work_stats(thr, work);
|
update_work_stats(thr, work);
|
||||||
|
|
||||||
if (!fulltest(work->hash, work->target)) {
|
if (!fulltest(work->hash, work->target)) {
|
||||||
applog(LOG_INFO, "Share above target");
|
applog(LOG_INFO, "%s %d: Share above target", thr->cgpu->drv->name,
|
||||||
|
thr->cgpu->device_id);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
work_out = copy_work(work);
|
work_out = copy_work(work);
|
||||||
|
Loading…
Reference in New Issue
Block a user