sha256_4way: patch proper nonce into data block

This commit is contained in:
Jeff Garzik 2010-11-27 03:50:12 -05:00 committed by Jeff Garzik
parent eeea340b17
commit 6288d943ab

View file

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