From 1aaf695777d1c08aa5719de88a47eaab4cc05222 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Tue, 17 Jan 2012 16:46:32 -0500 Subject: [PATCH] fixed not providing "peer" when calling handle_shares in p2p.Node --- p2pool/p2p.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 6b60200..82037ba 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -214,7 +214,7 @@ class Protocol(bitcoin_p2p.BaseProtocol): share_obj = p2pool_data.Share.from_share(share, self.node.net) share_obj.peer = self res.append(share_obj) - self.node.handle_shares(res) + self.node.handle_shares(res, self) def sendShares(self, shares, full=False): def att(f, **kwargs): -- 1.7.1