mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
WIP continue implementing the BCH swap interface for XMR swap and atomic swap protocols
This commit is contained in:
@@ -1148,7 +1148,8 @@ class BTCInterface(Secp256k1Interface):
|
||||
return None
|
||||
|
||||
try:
|
||||
tx = self.rpc_wallet('gettransaction', [txid.hex()])
|
||||
# set `include_watchonly` explicitly to `True` to get transactions for watchonly addresses also in BCH
|
||||
tx = self.rpc_wallet('gettransaction', [txid.hex(), True])
|
||||
|
||||
block_height = 0
|
||||
if 'blockhash' in tx:
|
||||
|
||||
Reference in New Issue
Block a user