add Tracker.get_last for completeness
[p2pool.git] / p2pool / bitcoin / data.py
index f48d2eb..d0228c1 100644 (file)
@@ -643,6 +643,10 @@ class Tracker(object):
         height, work, last = self.get_height_work_and_last(share_hash)
         return work
     
+    def get_last(self, share_hash):
+        height, work, last = self.get_height_work_and_last(share_hash)
+        return last
+    
     def get_height_and_last(self, share_hash):
         height, work, last = self.get_height_work_and_last(share_hash)
         return height, last