Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed self.node

  • Loading branch information...
commit 93bf22f52fdc6434b4001995da830934f00e01e8 1 parent 5934c1f
@forrestv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  p2pool/bitcoin/helper.py
View
2  p2pool/bitcoin/helper.py
@@ -70,7 +70,7 @@ def submit_block_p2p(block, factory, net):
@defer.inlineCallbacks
def submit_block_rpc(block, ignore_failure, bitcoind, bitcoind_work, net):
if bitcoind_work.value['use_getblocktemplate']:
- if 'lite' in self.node.net.NAME:
+ if 'lite' in net.NAME:
result = yield bitcoind.rpc_getblocktemplate(dict(mode='submit', data=bitcoin_data.block_type.pack(block).encode('hex')))
success = result is None
else:
Please sign in to comment.
Something went wrong with that request. Please try again.