diff options
| author | selsta <selsta@sent.at> | 2022-12-18 17:51:19 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2022-12-18 17:51:19 +0100 |
| commit | c8127f651d0dc2fccabb572f7cf6b262d1dd71d8 (patch) | |
| tree | cac4ed9ac3ebcae46f9f65872d0994f739337540 /main.qml | |
| parent | 48393db2c75bd306e7d7f5cd2c226880a5eb0386 (diff) | |
| download | monzero-gui-c8127f651d0dc2fccabb572f7cf6b262d1dd71d8.tar.gz monzero-gui-c8127f651d0dc2fccabb572f7cf6b262d1dd71d8.tar.xz monzero-gui-c8127f651d0dc2fccabb572f7cf6b262d1dd71d8.zip | |
main: skip proxy when setting localhost remote node
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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: { |
