Merge pull request #1146 from SChernykh/dev

Fixed race condition in RandomX thread init
This commit is contained in:
xmrig 2019-08-29 04:20:46 +07:00 committed by GitHub
commit af52e454e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,8 @@ void xmrig::CpuWorker<N>::allocateRandomX_VM()
if (Nonce::sequence(Nonce::CPU) == 0) { if (Nonce::sequence(Nonce::CPU) == 0) {
return; return;
} }
dataset = Rx::dataset(m_job.currentJob(), m_node);
} }
if (!m_vm) { if (!m_vm) {