1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Reset work flags to prevent GBT shares from being submitted as stratum ones after switching.

This commit is contained in:
Con Kolivas 2012-11-06 14:01:32 +11:00
parent d6b9442fcf
commit be82cc7fba

View File

@ -5206,6 +5206,8 @@ static void get_work(struct work *work, struct thr_info *thr, const int thr_id)
goto out;
}
/* Reset these flags in case we switch pools with these work structs */
work->stratum = work->gbt = false;
retry:
pool = current_pool();