bug
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 23:04:18 +0000 (23:04 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 23:04:18 +0000 (23:04 +0000)
git-svn-id: svn://forre.st/p2pool@1316 470744a7-cac9-478e-843e-5ec1b25c69e8

p2p.py

diff --git a/p2p.py b/p2p.py
index fd7bfea..8107b75 100644 (file)
--- a/p2p.py
+++ b/p2p.py
@@ -137,7 +137,7 @@ class Protocol(bitcoin_p2p.BaseProtocol):
             state=dict(
                 chain_id=p2pool.chain_id_type.unpack(chain.chain_id_data),
                 highest=dict(
-                    hash=highest_share2.hash,
+                    hash=highest_share2.share.hash,
                     height=highest_share2.height,
                 ),
             ),