mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-04 11:04:26 +00:00
Roll work again after duplicating it to prevent duplicates on return to the clone function.
This commit is contained in:
parent
610302afcb
commit
0c970bbd1c
@ -3647,6 +3647,9 @@ static struct work *clone_work(struct work *work)
|
|||||||
}
|
}
|
||||||
roll_work(work);
|
roll_work(work);
|
||||||
work_clone = make_clone(work);
|
work_clone = make_clone(work);
|
||||||
|
/* Roll it again to prevent duplicates should this be used
|
||||||
|
* directly later on */
|
||||||
|
roll_work(work);
|
||||||
cloned = true;
|
cloned = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user