aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 15bfa684..b1e58663 100644
--- a/main.qml
+++ b/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: {