Browse Source

Ignore opt_queue for unused mining algorithms

Luke Dashjr 11 years ago
parent
commit
8c4613f7c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -13626,6 +13626,8 @@ begin_bench:
 				{
 				{
 					if (!malgo->goal_refs)
 					if (!malgo->goal_refs)
 						continue;
 						continue;
+					if (!malgo->base_queue)
+						continue;
 					if (malgo->staged < malgo->base_queue + opt_queue)
 					if (malgo->staged < malgo->base_queue + opt_queue)
 					{
 					{
 						mutex_unlock(stgd_lock);
 						mutex_unlock(stgd_lock);