From d2973f9839fb124ce2164e76cef861b7d967f246 Mon Sep 17 00:00:00 2001 From: Ang Iong Chun Date: Fri, 28 Jun 2013 16:14:59 +0800 Subject: [PATCH 1/1] fix user difficulty in username --- p2pool/work.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/work.py b/p2pool/work.py index 6d4d481..40a1a30 100644 --- a/p2pool/work.py +++ b/p2pool/work.py @@ -151,7 +151,7 @@ class WorkerBridge(worker_interface.WorkerBridge): pass elif symbol == '/': try: - desired_share_target = bitcoin_data.difficulty_to_target(float(min_diff_str)) + desired_share_target = bitcoin_data.difficulty_to_target(float(parameter)) except: pass -- 1.7.1