|
|
|
@ -688,10 +688,12 @@ class BitcoinCoreInterface(BlockchainInterface): |
|
|
|
res = self.rpc("gettransaction", [tx["txid"], 1]) |
|
|
|
res = self.rpc("gettransaction", [tx["txid"], 1]) |
|
|
|
except JsonRpcError as e: |
|
|
|
except JsonRpcError as e: |
|
|
|
#This should never happen (gettransaction is a wallet rpc). |
|
|
|
#This should never happen (gettransaction is a wallet rpc). |
|
|
|
log.info("Failed any gettransaction call") |
|
|
|
log.warn("Failed gettransaction call; JsonRpcError") |
|
|
|
res = None |
|
|
|
res = None |
|
|
|
except Exception as e: |
|
|
|
except Exception as e: |
|
|
|
log.info(str(e)) |
|
|
|
log.warn("Failed gettransaction call; unexpected error:") |
|
|
|
|
|
|
|
log.warn(str(e)) |
|
|
|
|
|
|
|
res = None |
|
|
|
if not res: |
|
|
|
if not res: |
|
|
|
continue |
|
|
|
continue |
|
|
|
if "confirmations" not in res: |
|
|
|
if "confirmations" not in res: |
|
|
|
|