mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Attribute split work as local work generation.
This commit is contained in:
parent
720032dacd
commit
9c12d49684
2
main.c
2
main.c
@ -2303,7 +2303,6 @@ static bool divide_work(struct timeval *now, struct work *work, uint32_t hash_di
|
||||
if (!can_roll(work))
|
||||
return false;
|
||||
else {
|
||||
local_work++;
|
||||
roll_work(work);
|
||||
return true;
|
||||
}
|
||||
@ -2311,6 +2310,7 @@ static bool divide_work(struct timeval *now, struct work *work, uint32_t hash_di
|
||||
/* Okay we can divide it up */
|
||||
work->blk.nonce += hash_inc;
|
||||
work->cloned = true;
|
||||
local_work++;
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Successfully divided work");
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user