main: enforce SOCKS5 for GUI proxy connections

This commit is contained in:
selsta committed 2026-09-12 00:20:53 +02:00
1 parent 7691273c63
commit fb49a8b921
1 file changed
+3 -3
+3 -3
View File
@@ -1529,15 +1529,15 @@ ApplicationWindow {
property bool proxyEnabled: isTails
function getProxyAddress() {
if (socksProxyFlagSet) {
return socksProxyFlag;
return socksProxyFlag == "" ? "" : "socks5://" + socksProxyFlag;
}
if (!proxyEnabled) {
return "";
}
if (proxyAddress == "") {
return "127.0.0.1:0";
return "socks5://127.0.0.1:0";
}
return proxyAddress;
return "socks5://" + proxyAddress;
}
function getWalletProxyAddress() {
if (!useRemoteNode) {