From 59933486e913f8c18de95ef93764ae0b50faeba7 Mon Sep 17 00:00:00 2001 From: alexhz Date: Mon, 18 Mar 2013 19:04:37 +0000 Subject: [PATCH] fix --- p2pool/work.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/p2pool/work.py b/p2pool/work.py index 0679aae..653bfe6 100644 --- a/p2pool/work.py +++ b/p2pool/work.py @@ -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: -- 1.7.1