Browse Source

Merge commit 'de1b0f1' into bfgminer-2.10.x

Luke Dashjr 13 years ago
parent
commit
bc5ed5a5fb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -3467,6 +3467,9 @@ static 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;