Skip to content

Commit

Permalink
fixed self.node
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Mar 20, 2013
1 parent 5934c1f commit 93bf22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/bitcoin/helper.py
Expand Up @@ -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:
Expand Down

0 comments on commit 93bf22f

Please sign in to comment.