git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b40b4c5
)
fixed not providing "peer" when calling handle_shares in p2p.Node
author
Forrest Voight
<forrest@forre.st>
Tue, 17 Jan 2012 21:46:32 +0000 (16:46 -0500)
committer
Forrest Voight
<forrest@forre.st>
Tue, 17 Jan 2012 21:46:40 +0000 (16:46 -0500)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
6b60200
..
82037ba
100644
(file)
--- 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):