Skip to content

Commit

Permalink
print share hashes when share check fails
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Jan 20, 2014
1 parent 11b0d96 commit 8c30d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def attempt_verify(self, share):
try:
share.check(self)
except:
log.err(None, 'Share check failed:')
log.err(None, 'Share check failed: %064x -> %064x' % (share.hash, share.previous_hash))
return False
else:
self.verified.add(share)
Expand Down

0 comments on commit 8c30d48

Please sign in to comment.