mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Reset work flags to prevent GBT shares from being submitted as stratum ones after switching.
This commit is contained in:
parent
d6b9442fcf
commit
be82cc7fba
@ -5206,6 +5206,8 @@ static void get_work(struct work *work, struct thr_info *thr, const int thr_id)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Reset these flags in case we switch pools with these work structs */
|
||||||
|
work->stratum = work->gbt = false;
|
||||||
retry:
|
retry:
|
||||||
pool = current_pool();
|
pool = current_pool();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user