From cbe48ceb6aff20ca58c74a2da8ca614abe2654de Mon Sep 17 00:00:00 2001
From: Forrest Voight
Date: Tue, 20 Mar 2012 14:51:33 -0400
Subject: [PATCH] include share type 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 16a7caf..55b59e9 100644
--- a/p2pool/web.py
+++ b/p2pool/web.py
@@ -267,7 +267,7 @@ def get_web_root(tracker, current_work, current_work2, get_current_txouts, datad
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 %s
' % (share.hash, p2pool_data.format_hash(share.hash)))
+ request.write('' % (share.__class__, share.hash, p2pool_data.format_hash(share.hash)))
if share.previous_hash is not None:
request.write('Previous: %s' % (share.previous_hash, p2pool_data.format_hash(share.previous_hash)))
if tracker.get_height(share.hash) >= 100:
--
1.7.1