fix
[p2pool.git] / p2pool / work.py
index 0679aae..653bfe6 100644 (file)
@@ -100,6 +100,7 @@ class WorkerBridge(worker_interface.WorkerBridge):
                     time=t['time'] + 30, # better way?
                     transactions=[],
                     transaction_fees=[],
+                    txn_timestamp=0,
                     merkle_link=bitcoin_data.calculate_merkle_link([None], 0),
                     subsidy=self.node.pow_subsidy,
                     last_update=self.node.bitcoind_work.value['last_update'],
@@ -187,6 +188,10 @@ class WorkerBridge(worker_interface.WorkerBridge):
         tx_map = dict(zip(tx_hashes, self.current_work.value['transactions']))
         txn_timestamp = self.current_work.value['txn_timestamp']
         
+        print
+        print txn_timestamp
+        print
+        
         if self.node.best_share_var.value is None:
             share_type = p2pool_data.Share
         else: