git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
70ed81c
)
fixed p2p for new shares
author
Forrest Voight
<forrest@forre.st>
Tue, 29 Nov 2011 16:09:00 +0000 (16:09 +0000)
committer
Forrest Voight
<forrest@forre.st>
Tue, 29 Nov 2011 16:09:00 +0000 (16:09 +0000)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
3e979e3
..
751929b
100644
(file)
--- a/
p2pool/p2p.py
+++ b/
p2pool/p2p.py
@@
-212,8
+212,9
@@
class Protocol(bitcoin_p2p.BaseProtocol):
def handle_shares(self, shares):
res = []
for share in shares:
- share_obj = p2pool_data.Share.from_share(share, self.node.net)
+ share_obj = p2pool_data.NewShare.from_share(share, self.node.net)
share_obj.peer = self
+ res.append(share_obj)
self.node.handle_shares(res)
message_share1as = bitcoin_data.ComposedType([