1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Bit error in target calculation for stratum.

This commit is contained in:
Con Kolivas 2012-10-03 10:33:11 +10:00
parent 310239b8e8
commit ac0c813f9d

View File

@ -4559,7 +4559,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
int byte = j / 8;
int bit = j % 8;
data8[byte] &= ~(8 >> bit);
data8[byte] &= ~(128 >> bit);
}
swab256(target, rtarget);
if (opt_debug) {