mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
docker: Update templates for BCH.
This commit is contained in:
@@ -1972,8 +1972,8 @@ def main():
|
||||
chainclients['bitcoin']['rpcuser'] = BTC_RPC_USER
|
||||
chainclients['bitcoin']['rpcpassword'] = BTC_RPC_PWD
|
||||
if BCH_RPC_USER != '':
|
||||
chainclients['bitcoin']['rpcuser'] = BCH_RPC_USER
|
||||
chainclients['bitcoin']['rpcpassword'] = BCH_RPC_PWD
|
||||
chainclients['bitcoincash']['rpcuser'] = BCH_RPC_USER
|
||||
chainclients['bitcoincash']['rpcpassword'] = BCH_RPC_PWD
|
||||
if XMR_RPC_USER != '':
|
||||
chainclients['monero']['rpcuser'] = XMR_RPC_USER
|
||||
chainclients['monero']['rpcpassword'] = XMR_RPC_PWD
|
||||
|
||||
@@ -1502,7 +1502,7 @@ class BTCInterface(Secp256k1Interface):
|
||||
'amount': txjs['vout'][n]['value']
|
||||
}
|
||||
|
||||
def inspectSwipeTx(self, tx: dict) -> bytes | None:
|
||||
def inspectSwipeTx(self, tx: dict):
|
||||
mercy_keyshare = None
|
||||
for vout in tx['vout']:
|
||||
script_bytes = bytes.fromhex(vout['scriptPubKey']['hex'])
|
||||
|
||||
Reference in New Issue
Block a user