mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-09 13:34:18 +00:00
correct gen_hash
This commit is contained in:
parent
23724ef9ff
commit
09ec23106b
@ -6156,7 +6156,7 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
|
||||
memcpy(merkle_sha + 32, merkle_sha, 32);
|
||||
else
|
||||
memcpy(merkle_sha + 32, pool->swork.merkle_bin[i], 32);
|
||||
gen_hash(merkle_sha, 64, merkle_root);
|
||||
pool->algorithm.gen_hash(merkle_sha, 64, merkle_root);
|
||||
memcpy(merkle_sha, merkle_root, 32);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user