git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8c30d48
)
fixed possible crash introduced by prior commit
author
Forrest Voight
<forrest@forre.st>
Mon, 20 Jan 2014 07:58:25 +0000 (
02:58
-0500)
committer
Forrest Voight
<forrest@forre.st>
Mon, 20 Jan 2014 07:58:25 +0000 (
02:58
-0500)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
7c44878
..
e8fe347
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-430,7
+430,7
@@
class OkayTracker(forest.Tracker):
try:
share.check(self)
except:
- log.err(None, 'Share check failed: %064x -> %064x' % (share.hash, share.previous_hash))
+ log.err(None, 'Share check failed: %064x -> %064x' % (share.hash, share.previous_hash if share.previous_hash is not None else 0))
return False
else:
self.verified.add(share)