From 32125026cfad6e37f8e2fb0566b2c0871102a13d Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 21 Feb 2014 09:17:24 +0100 Subject: [PATCH] Fixed typo. --- scrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrypt.c b/scrypt.c index f602beef..f0304344 100644 --- a/scrypt.c +++ b/scrypt.c @@ -479,7 +479,7 @@ bool scanhash_scrypt(struct thr_info *thr, const unsigned char __maybe_unused *p *nonce = ++n; data[19] = htobe32(n); - scrypt_n_1_1_256_sp(data, scratchbuf, ohash, (1 << nfactor)); + scrypt_n_1_1_256_sp(data, scratchbuf, ostate, (1 << nfactor)); tmp_hash7 = be32toh(ostate[7]); if (unlikely(tmp_hash7 <= Htarg)) { @@ -495,6 +495,6 @@ bool scanhash_scrypt(struct thr_info *thr, const unsigned char __maybe_unused *p } } - free(scratchbuf);; + free(scratchbuf); return ret; }