git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a9a8cb5
)
ignore stale data indicating zero stales - some node running an older version is...
author
Forrest Voight
<forrest@forre.st>
Sat, 12 Nov 2011 09:09:25 +0000 (
04:09
-0500)
committer
Forrest Voight
<forrest@forre.st>
Sat, 12 Nov 2011 09:09:25 +0000 (
04:09
-0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
e20a00e
..
0e2ddf3
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-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