xmr: Default "trusted_daemon" setting to true.

This commit is contained in:
tecnovert 2025-03-27 17:19:04 +02:00
parent aa9babdc69
commit c205607bb4
2 changed files with 3 additions and 3 deletions

View file

@ -707,7 +707,7 @@ class BasicSwap(BaseApp):
def getXMRTrustedDaemon(self, coin, node_host: str) -> bool:
coin = Coins(coin) # Errors for invalid coin value
chain_client_settings = self.getChainClientSettings(coin)
trusted_daemon_setting = chain_client_settings.get("trusted_daemon", "auto")
trusted_daemon_setting = chain_client_settings.get("trusted_daemon", True)
self.log.debug(
f"'trusted_daemon' setting for {getCoinName(coin)}: {trusted_daemon_setting}."
)

View file

@ -2470,7 +2470,7 @@ def main():
"zmqport": XMR_ZMQ_PORT + port_offset,
"walletrpcport": XMR_WALLET_RPC_PORT + port_offset,
"rpchost": XMR_RPC_HOST,
"trusted_daemon": extra_opts.get("trust_remote_node", "auto"),
"trusted_daemon": extra_opts.get("trust_remote_node", True),
"walletrpchost": XMR_WALLET_RPC_HOST,
"walletrpcuser": XMR_WALLET_RPC_USER,
"walletrpcpassword": XMR_WALLET_RPC_PWD,
@ -2493,7 +2493,7 @@ def main():
"zmqport": WOW_ZMQ_PORT + port_offset,
"walletrpcport": WOW_WALLET_RPC_PORT + port_offset,
"rpchost": WOW_RPC_HOST,
"trusted_daemon": extra_opts.get("trust_remote_node", "auto"),
"trusted_daemon": extra_opts.get("trust_remote_node", True),
"walletrpchost": WOW_WALLET_RPC_HOST,
"walletrpcuser": WOW_WALLET_RPC_USER,
"walletrpcpassword": WOW_WALLET_RPC_PWD,