mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-28 09:31:37 +01:00
main: skip proxy when setting localhost remote node
This commit is contained in:
parent
48393db2c7
commit
c8127f651d
9
main.qml
9
main.qml
@ -1447,8 +1447,15 @@ ApplicationWindow {
|
||||
function getWalletProxyAddress() {
|
||||
if (!useRemoteNode) {
|
||||
return "";
|
||||
} else {
|
||||
const remoteAddress = remoteNodesModel.currentRemoteNode().address;
|
||||
// skip proxy when using localhost remote node
|
||||
if (remoteAddress.startsWith("127.0.0.1:") || remoteAddress.startsWith("localhost:")) {
|
||||
return "";
|
||||
} else {
|
||||
return getProxyAddress();
|
||||
}
|
||||
}
|
||||
return getProxyAddress();
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
Loading…
Reference in New Issue
Block a user