Browse Source

Bugfix: Reset pool transparency_time when connecting to stratum

Luke Dashjr 13 years ago
parent
commit
98c179c07e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      util.c

+ 1 - 0
util.c

@@ -1333,6 +1333,7 @@ bool initiate_stratum(struct pool *pool)
 	bool ret = false;
 	bool ret = false;
 
 
 	mutex_lock(&pool->stratum_lock);
 	mutex_lock(&pool->stratum_lock);
+	pool->swork.transparency_time = (time_t)-1;
 	pool->stratum_active = false;
 	pool->stratum_active = false;
 	if (!pool->stratum_curl) {
 	if (!pool->stratum_curl) {
 		pool->stratum_curl = curl_easy_init();
 		pool->stratum_curl = curl_easy_init();