docker: Update templates for BCH.

This commit is contained in:
tecnovert
2024-11-12 22:43:32 +02:00
parent 283cfc7c59
commit ca5b9e5e00
10 changed files with 47 additions and 25 deletions

View File

@@ -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

View File

@@ -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'])