From: Forrest Voight Date: Tue, 29 Nov 2011 13:34:38 +0000 (-0500) Subject: fixed typo X-Git-Tag: 0.8.2~149 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=c32e315ed569222dbc2ee7cb47598594e2abf9a3;p=p2pool.git fixed typo --- diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 49f3d7d..1bb193a 100644 --- 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