Browse Source

Reset sequential reject counter after a pool is disabled for when it is re-enabled.

ckolivas 14 years ago
parent
commit
4d090a587c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
cgminer.c

@@ -1724,6 +1724,7 @@ static bool submit_upstream_work(const struct work *work, CURL *curl)
 				pool->enabled = false;
 				pool->enabled = false;
 				if (pool == current_pool())
 				if (pool == current_pool())
 					switch_pools(NULL);
 					switch_pools(NULL);
+				pool->seq_rejects = 0;
 			}
 			}
 		}
 		}
 	}
 	}