git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
bfc7337
)
fixed: don't display meaningless "punishing share for 'not all txs present'" message...
author
Forrest Voight
<forrest@forre.st>
Wed, 2 Jan 2013 01:08:39 +0000 (20:08 -0500)
committer
Forrest Voight
<forrest@forre.st>
Wed, 2 Jan 2013 01:08:39 +0000 (20:08 -0500)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
f4114cd
..
58cb3d6
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-347,7
+347,7
@@
class Share(object):
other_txs = self._get_other_txs(tracker, known_txs)
if other_txs is None:
- if self.time_seen == 0: # ignore if loaded from ShareStore
+ if self.time_seen != 0: # ignore if loaded from ShareStore
return True, 'not all txs present'
else:
all_txs_size = sum(bitcoin_data.tx_type.packed_size(tx) for tx in other_txs)