Browse Source

Bugfix: Restore delay for authorization on stratum mining.get_transactions

Luke Dashjr 12 years ago
parent
commit
1b21b168be
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libblkmaker
  2. 1 1
      util.c

+ 1 - 1
libblkmaker

@@ -1 +1 @@
-Subproject commit 5f3ad2a1edc37ef2745634fea6bfc5b4d9bfdf9a
+Subproject commit 8f4bb3ee9f43405203fef6f64ca938dc7933a060

+ 1 - 1
util.c

@@ -1535,7 +1535,7 @@ static bool parse_notify(struct pool *pool, json_t *val)
 	total_getworks++;
 
 	if ((merkles && (!pool->swork.transparency_probed || rand() <= RAND_MAX / (opt_skip_checks + 1))) || pool->swork.transparency_time != (time_t)-1)
-		if (pool->stratum_init)
+		if (pool->probed)
 			stratum_probe_transparency(pool);
 
 	ret = true;