git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b3dfeeb
)
fixed typo
author
Forrest Voight
<forrest@forre.st>
Tue, 29 Nov 2011 13:34:38 +0000 (08:34 -0500)
committer
Forrest Voight
<forrest@forre.st>
Tue, 29 Nov 2011 13:34:38 +0000 (08:34 -0500)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
49f3d7d
..
1bb193a
100644
(file)
--- a/
p2pool/p2p.py
+++ b/
p2pool/p2p.py
@@
-233,7
+233,7
@@
class Protocol(bitcoin_p2p.BaseProtocol):
def handle_share1bs(self, share1bs):
shares = []
for share1b in share1bs:
- if not self.node.net.BITCOIN_POW_FUNC(share1a['header']) <= share1b['header']['target']:
+ if not self.node.net.BITCOIN_POW_FUNC(share1b['header']) <= share1b['header']['target']:
print 'Dropping peer %s:%i due to invalid share' % self.addr
self.transport.loseConnection()
return