typo
This commit is contained in:
parent
4f5388f715
commit
5cd31517f8
@ -48,7 +48,7 @@ class BitcoinRPC(object):
|
||||
resp = (yield self._call('submitblock', [block_hex,]))
|
||||
except Exception:
|
||||
try:
|
||||
log.exception "Submit Block call failed, trying GetBlockTemplate")
|
||||
log.exception("Submit Block call failed, trying GetBlockTemplate")
|
||||
resp = (yield self._call('getblocktemplate', [{'mode': 'submit', 'data': block_hex}]))
|
||||
except Exception as e:
|
||||
log.exception("Both SubmitBlock and GetBlockTemplate failed. Problem Submitting block %s" % str(e))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user