From: Forrest Voight Date: Sun, 2 Dec 2012 02:55:08 +0000 (-0500) Subject: fixed: don't display meaningless "punishing share for 'not all txs present'" message... X-Git-Tag: 9.3~2 X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=5579f773c9891882057e815451210ab8745d0bbb fixed: don't display meaningless "punishing share for 'not all txs present'" message at start --- diff --git a/p2pool/data.py b/p2pool/data.py index 5222500..cfab5ea 100644 --- a/p2pool/data.py +++ b/p2pool/data.py @@ -336,7 +336,7 @@ class Share(object): other_txs = self._get_other_txs(tracker, known_txs) if other_txs is None: - if self.time_seen is not None: # 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)