Skip to content

Commit

Permalink
fixed: don't display meaningless "punishing share for 'not all txs pr…
Browse files Browse the repository at this point in the history
…esent'" message at start
  • Loading branch information
forrestv committed Jan 2, 2013
1 parent bfc7337 commit 2073539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/data.py
Expand Up @@ -347,7 +347,7 @@ def should_punish_reason(self, previous_block, bits, tracker, known_txs):

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)
Expand Down

0 comments on commit 2073539

Please sign in to comment.