Browse Source

Merge commit 'de1b0f1' into bfgminer

Luke Dashjr 12 years ago
parent
commit
3602610b90
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -3729,6 +3729,9 @@ bool stale_work(struct work *work, bool share)
 	uint32_t block_id;
 	unsigned getwork_delay;
 
+	if (opt_benchmark)
+		return false;
+
 	block_id = ((uint32_t*)work->data)[1];
 	pool = work->pool;