Browse Source

Bugfix: Force calculation of work_difficulty since set_work_target fails to consider the pdiff<bdiff difference

Luke Dashjr 13 years ago
parent
commit
449bf4bd64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -5714,7 +5714,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
 	work->longpoll = false;
 	work->getwork_mode = GETWORK_MODE_STRATUM;
 	work->work_restart_id = work->pool->work_restart_id;
-	calc_diff(work, work->sdiff);
+	calc_diff(work, 0);
 
 	gettimeofday(&work->tv_staged, NULL);
 }