print share hashes when share check fails
authorForrest Voight <forrest@forre.st>
Mon, 20 Jan 2014 07:54:47 +0000 (02:54 -0500)
committerForrest Voight <forrest@forre.st>
Mon, 20 Jan 2014 07:54:47 +0000 (02:54 -0500)
p2pool/data.py

index 0e62a0f..7c44878 100644 (file)
@@ -430,7 +430,7 @@ class OkayTracker(forest.Tracker):
         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)