diff --git a/lib/bitcoin_rpc.py b/lib/bitcoin_rpc.py index 9151c2f..23d207f 100644 --- a/lib/bitcoin_rpc.py +++ b/lib/bitcoin_rpc.py @@ -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))