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

Count each stratum work item as local work.

This commit is contained in:
Con Kolivas 2012-10-08 21:34:46 +11:00
parent 2023e53fb2
commit 662ab1eff7

View File

@ -4640,6 +4640,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
set_work_target(work, work->sdiff); set_work_target(work, work->sdiff);
local_work++;
work->pool = pool; work->pool = pool;
work->stratum = true; work->stratum = true;
work->blk.nonce = 0; work->blk.nonce = 0;