1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-09 13:34:18 +00:00

correct gen_hash

This commit is contained in:
orignal 2017-10-18 15:39:37 -04:00
parent 23724ef9ff
commit 09ec23106b

View File

@ -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);
}
}