Target Calculation Update
authorwozz <wozz@users.noreply.github.com>
Thu, 8 May 2014 16:44:36 +0000 (12:44 -0400)
committerwozz <wozz@users.noreply.github.com>
Thu, 8 May 2014 16:44:36 +0000 (12:44 -0400)
fix #686

lib/blockchain.py

index 324d2a6..81b9405 100644 (file)
@@ -277,7 +277,7 @@ class Blockchain(threading.Thread):
             i -= 1
 
         c = int('0x'+c[0:6],16)
-        if c > 0x800000: 
+        if c >= 0x800000: 
             c /= 256
             i += 1