mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
scrypt_diff now returns a uint64_t
This commit is contained in:
parent
d8e18994d5
commit
53c9cdaf56
@ -2262,7 +2262,7 @@ static uint64_t share_diff(const struct work *work)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t scrypt_diff(const struct work *work)
|
static uint64_t scrypt_diff(const struct work *work)
|
||||||
{
|
{
|
||||||
const uint64_t scrypt_diffone = 0x0000ffff00000000ul;
|
const uint64_t scrypt_diffone = 0x0000ffff00000000ul;
|
||||||
uint64_t d64 = work->outputhash, ret;
|
uint64_t d64 = work->outputhash, ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user