Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
be82cc7fba
  1. 2
      cgminer.c

2
cgminer.c

@ -5206,6 +5206,8 @@ static void get_work(struct work *work, struct thr_info *thr, const int thr_id) @@ -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();

Loading…
Cancel
Save