mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
xmr: Default "trusted_daemon" setting to true.
This commit is contained in:
@@ -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}."
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user