Browse Source

sha256_4way: patch proper nonce into data block

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
6288d943ab
  1. 1
      sha256_4way.c

1
sha256_4way.c

@ -122,6 +122,7 @@ unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata, @@ -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;
}
}

Loading…
Cancel
Save