main: enforce SOCKS5 for GUI proxy connections
This commit is contained in:
1 file changed
+3
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user