From 6288d943abe9418164da5d5e5dc97e0065e1fa82 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sat, 27 Nov 2010 03:50:12 -0500 Subject: sha256_4way: patch proper nonce into data block --- sha256_4way.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sha256_4way.c') diff --git a/sha256_4way.c b/sha256_4way.c index 3fe3114..f621136 100644 --- a/sha256_4way.c +++ b/sha256_4way.c @@ -122,6 +122,7 @@ unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata, for (i = 0; i < 32/4; i++) ((unsigned int*)phash)[i] = thash[i][j]; *nHashesDone = nonce; + *nNonce_p = nonce + j; return nonce + j; } } -- cgit v1.2.3-18-g5258