Browse Source

Merge commit '8194067' into cg_merges_20131108a

Luke Dashjr 12 years ago
parent
commit
247ed68930
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -5603,6 +5603,7 @@ static void discard_work(struct work *work)
 	if (!work->clone && !work->rolls && !work->mined) {
 		if (work->pool) {
 			work->pool->discarded_work++;
+			work->pool->quota_used--;
 			work->pool->works--;
 		}
 		total_discarded++;