@@ -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;