mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Convert hashes to an unsigned long long as well.
This commit is contained in:
parent
a4f1af1733
commit
41d5813d8f
@ -3695,7 +3695,7 @@ void *miner_thread(void *userdata)
|
||||
struct timeval diff, sdiff, wdiff;
|
||||
uint32_t max_nonce = api->can_limit_work ? api->can_limit_work(mythr) : 0xffffffff;
|
||||
unsigned long long hashes_done = 0;
|
||||
uint32_t hashes;
|
||||
unsigned long long hashes;
|
||||
struct work *work = make_work();
|
||||
unsigned const int request_interval = opt_scantime * 2 / 3 ? : 1;
|
||||
unsigned const long request_nonce = MAXTHREADS / 3 * 2;
|
||||
|
Loading…
Reference in New Issue
Block a user