Browse Source

Merge commit 'a705ab3' into bfgminer-3.0.x

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

+ 2 - 0
miner.c

@@ -4692,7 +4692,9 @@ static bool test_work_current(struct work *work)
 		work->pool->block_id = block_id;
 		if (deleted_block)
 			applog(LOG_DEBUG, "Deleted block %d from database", deleted_block);
+#if BLKMAKER_VERSION > 1
 		template_nonce = 0;
+#endif
 		set_curblock(hexstr, &work->data[4]);
 		if (unlikely(new_blocks == 1))
 			goto out_free;