1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-15 02:52:38 -05:00

Always reset nonce on RandomX dataset change

Also never get a new job when mining is paused
This commit is contained in:
SChernykh
2024-08-14 14:56:07 +02:00
parent 7e4caa8929
commit 17a52fb418
4 changed files with 10 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ void xmrig::OclWorker::start()
std::this_thread::yield();
}
if (!consumeJob()) {
if (isReady() && !consumeJob()) {
return;
}
}