1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Don't decrement staged extras count from longpoll work.

This commit is contained in:
Con Kolivas 2012-06-25 00:25:38 +10:00
parent d93e5f710d
commit 49dd8fb548

View File

@ -2425,7 +2425,7 @@ static int discard_stale(void)
HASH_ITER(hh, staged_work, work, tmp) {
if (stale_work(work, false)) {
HASH_DEL(staged_work, work);
if (work->clone || work->longpoll)
if (work->clone)
--staged_extras;
discard_work(work);
stale++;