ignore stale data indicating zero stales - some node running an older version is...
authorForrest Voight <forrest@forre.st>
Sat, 12 Nov 2011 09:09:25 +0000 (04:09 -0500)
committerForrest Voight <forrest@forre.st>
Sat, 12 Nov 2011 09:09:25 +0000 (04:09 -0500)
p2pool/main.py

index e20a00e..0e2ddf3 100644 (file)
@@ -628,7 +628,7 @@ def main(args):
             if len(share.nonce) < 4:
                 return None
             a, b = struct.unpack("<HH", share.nonce[-4:])
-            if a != b:
+            if a == 0 or a != b:
                 return None
             return a/65535