Skip to content

Commit ea1dfdf

Browse files
authored
Merge pull request #114 from marktwtn/fix-pure-C-PoW
Fix returned value of nonce value
2 parents 5e500f0 + ca23b1d commit ea1dfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pow_c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static long long int loop_cpu(uint64_t *lmid,
121121
return i * 64;
122122
}
123123
}
124-
return -i * 64 + 1;
124+
return -i * 64 - 1;
125125
}
126126

127127
static void para(int8_t in[], uint64_t l[], uint64_t h[])

0 commit comments

Comments
 (0)