mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-13 08:17:59 +00:00
Merge pull request #322 from luke-jr/bugfix_stratum_tmpwork
Bugfix: Initialize temporary stratum work
This commit is contained in:
commit
7e17af6913
@ -4361,6 +4361,7 @@ static void *stratum_thread(void *userdata)
|
|||||||
free(s);
|
free(s);
|
||||||
if (pool->swork.clean) {
|
if (pool->swork.clean) {
|
||||||
struct work work;
|
struct work work;
|
||||||
|
memset(&work, 0, sizeof(work));
|
||||||
|
|
||||||
/* Generate a single work item to update the current
|
/* Generate a single work item to update the current
|
||||||
* block database */
|
* block database */
|
||||||
|
Loading…
Reference in New Issue
Block a user