From 8016195cb20ffaf3436ed22f6a0a4857e1ccf9ef Mon Sep 17 00:00:00 2001
From: Forrest Voight
Date: Fri, 30 Mar 2012 17:24:16 -0400
Subject: [PATCH] fixed extra
in share explorer
---
p2pool/web.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/p2pool/web.py b/p2pool/web.py
index c82698d..3b09d40 100644
--- a/p2pool/web.py
+++ b/p2pool/web.py
@@ -269,7 +269,7 @@ def get_web_root(tracker, current_work, current_work2, get_current_txouts, datad
return 'share not known'
share = tracker.shares[self.share_hash]
- format_bits = lambda bits: '%f (bits=%#8x) Work required: %sH' % (bitcoin_data.target_to_difficulty(bits.target), bits.bits, math.format(bitcoin_data.target_to_average_attempts(bits.target)))
+ format_bits = lambda bits: '%f (bits=%#8x) Work required: %sH' % (bitcoin_data.target_to_difficulty(bits.target), bits.bits, math.format(bitcoin_data.target_to_average_attempts(bits.target)))
request.write('' % (share.__class__.__name__, share.hash, p2pool_data.format_hash(share.hash)))
if share.previous_hash is not None:
--
1.7.1