From 9f4428a484f9ac38288eae7ddc7da78b6224a55a Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 14 Aug 2019 02:23:48 +0700 Subject: [PATCH] Fixed user job recovery after donation round. --- src/backend/common/WorkerJob.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/common/WorkerJob.h b/src/backend/common/WorkerJob.h index c9a3d55ca..4b691952d 100644 --- a/src/backend/common/WorkerJob.h +++ b/src/backend/common/WorkerJob.h @@ -56,6 +56,7 @@ public: } if (index() == 1 && job.index() == 0 && job == m_jobs[0]) { + m_index = 0; return; }