diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp index cc4b1b3d9..30af616a0 100644 --- a/xmrstak/cli/cli-miner.cpp +++ b/xmrstak/cli/cli-miner.cpp @@ -894,7 +894,7 @@ int do_benchmark(int block_version, int wait_sec, int work_sec) /* AMD and NVIDIA is currently only supporting work sizes up to 128byte */ printer::inst()->print_msg(L0, "Start a %d second benchmark...", work_sec); - xmrstak::globalStates::inst().switch_work(xmrstak::miner_work("", work, 128, 0, false, 0, 0), dat); + xmrstak::globalStates::inst().switch_work(xmrstak::miner_work("", work, 128, 0, false, 1, 0), dat); uint64_t iStartStamp = get_timestamp_ms(); std::this_thread::sleep_for(std::chrono::seconds(work_sec));