aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2022-10-29 14:23:13 -0500
committerj-berman <justinberman@protonmail.com>2022-10-29 14:25:20 -0500
commit1215a6e5d88bf300c672c6f622982ee45f410d31 (patch)
treef34bbdf6c0b8771d4c725c1962465ab9b30ed33c /main.qml
parent499c2a47fcf0aac6698a35ea30907f381c459776 (diff)
downloadmonzero-gui-1215a6e5d88bf300c672c6f622982ee45f410d31.tar.gz
monzero-gui-1215a6e5d88bf300c672c6f622982ee45f410d31.tar.xz
monzero-gui-1215a6e5d88bf300c672c6f622982ee45f410d31.zip
Assume untrusted daemon in simple mode
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 4be6be06..8a1edbf9 100644
--- a/main.qml
+++ b/main.qml
@@ -379,7 +379,7 @@ ApplicationWindow {
}
function isTrustedDaemon() {
- return !persistentSettings.useRemoteNode || remoteNodesModel.currentRemoteNode().trusted;
+ return appWindow.walletMode >= 2 && (!persistentSettings.useRemoteNode || remoteNodesModel.currentRemoteNode().trusted);
}
function usefulName(path) {