some fixes
This commit is contained in:
parent
94276a8132
commit
77e05277e2
@ -229,14 +229,13 @@ def riecoinPoW( hash_bin, diff, nNonce ):
|
||||
base = base << trailingZeros
|
||||
|
||||
base += nNonce
|
||||
primes = 0
|
||||
|
||||
if (base % 210) != 97:
|
||||
return 0
|
||||
|
||||
if not isPrime( base ):
|
||||
return primes
|
||||
primes++
|
||||
return 0
|
||||
primes = 1
|
||||
|
||||
base += 4
|
||||
if isPrime( base ):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user