sha256_4way: perform 16m hashes, not 64k, per invocation

This commit is contained in:
Jeff Garzik 2010-11-26 23:15:38 -05:00 committed by Jeff Garzik
parent 35ea649d97
commit eed9b3c7df

View file

@ -125,9 +125,9 @@ unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata,
}
}
if ((nonce & 0xffff) == 0)
if ((nonce & 0xffffff) == 0)
{
*nHashesDone = 0xffff+1;
*nHashesDone = 0xffffff+1;
return -1;
}
}