1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-24 21:32:47 -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
committed by MoneroOcean
parent 3499939433
commit 13211f457c
2 changed files with 8 additions and 1 deletions

View File

@@ -389,7 +389,9 @@ void xmrig::CpuWorker<N>::start()
}
}
consumeJob();
if (!Nonce::isPaused()) {
consumeJob();
}
}
}