From d3e9aa9e911c3f956aeb8bc990a36670f50c1ead Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Sun, 24 Jun 2012 11:58:31 -0400 Subject: [PATCH] fixed compute_work using its own previous result instead of bitcoind_work --- p2pool/work.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p2pool/work.py b/p2pool/work.py index 853862a..57c9769 100644 --- a/p2pool/work.py +++ b/p2pool/work.py @@ -94,8 +94,8 @@ class WorkerBridge(worker_interface.WorkerBridge): transactions=[], merkle_link=bitcoin_data.calculate_merkle_link([None], 0), subsidy=net.PARENT.SUBSIDY_FUNC(self.block_height_var.value), - clock_offset=self.current_work.value['clock_offset'], - last_update=self.current_work.value['last_update'], + clock_offset=self.bitcoind_work.value['clock_offset'], + last_update=self.bitcoind_work.value['last_update'], ) self.current_work.set(t) -- 1.7.1