git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1b58287
)
fixed stale fraction parsing
author
Forrest Voight
<forrest@forre.st>
Wed, 9 Nov 2011 22:43:18 +0000 (17:43 -0500)
committer
Forrest Voight
<forrest@forre.st>
Wed, 9 Nov 2011 22:43:18 +0000 (17:43 -0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
0c80b6e
..
e20a00e
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-625,7
+625,7
@@
def main(args):
def read_stale_frac(share):
- if len(share.nonce) != 20:
+ if len(share.nonce) < 4:
return None
a, b = struct.unpack("<HH", share.nonce[-4:])
if a != b: