mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-11 13:11:02 +00:00
Bit error in target calculation for stratum.
This commit is contained in:
parent
310239b8e8
commit
ac0c813f9d
@ -4559,7 +4559,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
|
|||||||
int byte = j / 8;
|
int byte = j / 8;
|
||||||
int bit = j % 8;
|
int bit = j % 8;
|
||||||
|
|
||||||
data8[byte] &= ~(8 >> bit);
|
data8[byte] &= ~(128 >> bit);
|
||||||
}
|
}
|
||||||
swab256(target, rtarget);
|
swab256(target, rtarget);
|
||||||
if (opt_debug) {
|
if (opt_debug) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user