Skip to content

Commit

Permalink
fix: note: containing loop
Browse files Browse the repository at this point in the history
  • Loading branch information
decryp2kanon committed Mar 19, 2020
1 parent f4ba0ad commit 3eaa86e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion YespowerIso.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scanhash_iso_yespower(int thr_id, uint32_t *pdata,
abort();

if (le32dec(&hash.u32[7]) <= Htarg) {
for (i = 0; i < 8; i++)
for (i = 0; i < 7; i++)
hash.u32[i] = le32dec(&hash.u32[i]);
if (fulltest(hash.u32, ptarget)) {
*hashes_done = n - pdata[19] + 1;
Expand Down
2 changes: 1 addition & 1 deletion YespowerLtncg.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scanhash_ltncg_yespower(int thr_id, uint32_t *pdata,
abort();

if (le32dec(&hash.u32[7]) <= Htarg) {
for (i = 0; i < 8; i++)
for (i = 0; i < 7; i++)
hash.u32[i] = le32dec(&hash.u32[i]);
if (fulltest(hash.u32, ptarget)) {
*hashes_done = n - pdata[19] + 1;
Expand Down
2 changes: 1 addition & 1 deletion YespowerNull.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scanhash_null_yespower(int thr_id, uint32_t *pdata,
abort();

if (le32dec(&hash.u32[7]) <= Htarg) {
for (i = 0; i < 8; i++)
for (i = 0; i < 7; i++)
hash.u32[i] = le32dec(&hash.u32[i]);
if (fulltest(hash.u32, ptarget)) {
*hashes_done = n - pdata[19] + 1;
Expand Down
2 changes: 1 addition & 1 deletion YespowerSugar.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scanhash_sugar_yespower(int thr_id, uint32_t *pdata,
abort();

if (le32dec(&hash.u32[7]) <= Htarg) {
for (i = 0; i < 8; i++)
for (i = 0; i < 7; i++)
hash.u32[i] = le32dec(&hash.u32[i]);
if (fulltest(hash.u32, ptarget)) {
*hashes_done = n - pdata[19] + 1;
Expand Down
2 changes: 1 addition & 1 deletion YespowerUrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scanhash_urx_yespower(int thr_id, uint32_t *pdata,
abort();

if (le32dec(&hash.u32[7]) <= Htarg) {
for (i = 0; i < 8; i++)
for (i = 0; i < 7; i++)
hash.u32[i] = le32dec(&hash.u32[i]);
if (fulltest(hash.u32, ptarget)) {
*hashes_done = n - pdata[19] + 1;
Expand Down

0 comments on commit 3eaa86e

Please sign in to comment.