From 937550cb041482565d504c087fe3435471cae092 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 9 Dec 2024 16:26:53 -0600 Subject: [PATCH] fix: xmr/wow node connection was replacing onion addresses with an empty string --- lib/wallets/wallet/intermediate/lib_monero_wallet.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/wallets/wallet/intermediate/lib_monero_wallet.dart b/lib/wallets/wallet/intermediate/lib_monero_wallet.dart index 0c4ec0760..ffcaa1560 100644 --- a/lib/wallets/wallet/intermediate/lib_monero_wallet.dart +++ b/lib/wallets/wallet/intermediate/lib_monero_wallet.dart @@ -484,7 +484,8 @@ abstract class LibMoneroWallet Future updateNode() async { final node = getCurrentNode(); - final host = Uri.parse(node.host).host; + final host = + node.host.endsWith(".onion") ? node.host : Uri.parse(node.host).host; ({InternetAddress host, int port})? proxy; if (prefs.useTor) { if (node.clearnetEnabled && !node.torEnabled) {