0e483f1 Handle None return from _rpc() in get_transaction() (Adam Gibson)
0e483f1
@ -341,6 +341,9 @@ class BitcoinCoreInterface(BlockchainInterface):
log.warn("Failed gettransaction call; unexpected error:")
log.warn(str(e))
return None
if res is None:
# happens in case of rpc connection failure:
if "confirmations" not in res:
log.warning("Malformed gettx result: " + str(res))