forrestv/p2pool — Issue #5: Litecoin: global name 'share1a' is not defined
Author: iongchun
Created: 2011-11-28 03:53:06+00:00
State: open

It happens to me with 38a4495d64a38401734e499b3f57758d5767c7bb:

11:38:04.221220 RECV share1bs {'share1bs': [{'header': {'nonce': 5399, 'target': FloatingInteger(bits=0x1d018fa9 (18fa900000000000
11:38:04.227061 Error handling message: (see RECV line)
11:38:04.227112 Traceback (most recent call last):
11:38:04.227141 File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
11:38:04.227167 return func(*args,**kw)
11:38:04.227193 File "/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
11:38:04.227219 why = getattr(selectable, method)()
11:38:04.227244 File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 460, in doRead
11:38:04.227268 rval = self.protocol.dataReceived(data)
11:38:04.227293 File "/home/iongchun/Bitcoin/p2pool-LTC/p2pool/util/datachunker.py", line 40, in _DataChunker
11:38:04.227318 wants = receiver.send(buf.get(wants))
11:38:04.227343 --- ---
11:38:04.227367 File "/home/iongchun/Bitcoin/p2pool-LTC/p2pool/bitcoin/p2p.py", line 68, in dataReceiver
11:38:04.227401 handler(**payload2)
11:38:04.227426 File "/home/iongchun/Bitcoin/p2pool-LTC/p2pool/p2p.py", line 230, in handle_share1bs
11:38:04.227450 if not self.node.net.BITCOIN_POW_FUNC(share1a['header']) <= share1b['header']['target']:
11:38:04.227474 exceptions.NameError: global name 'share1a' is not defined