bug
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Sat, 16 Jul 2011 08:16:35 +0000 (08:16 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Sat, 16 Jul 2011 08:16:35 +0000 (08:16 +0000)
git-svn-id: svn://forre.st/p2pool@1398 470744a7-cac9-478e-843e-5ec1b25c69e8

p2pool/data.py

index ef636a8..3b24981 100644 (file)
@@ -363,9 +363,9 @@ class OkayTracker(bitcoin_data.Tracker):
         print "---"
         
         for share_hash in scores[:-5]:
-            if tracker.shares[share_hash].time_seen > time.time() - 30:
+            if self.shares[share_hash].time_seen > time.time() - 30:
                 continue
-            tracker.remove(share_hash)
+            self.remove(share_hash)
         
         best = scores[-1] if scores else None