aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-11-19 03:18:06 +0000
committerxiphon <xiphon@protonmail.com>2019-11-19 03:26:42 +0000
commit3b41933335c3f49d2783d60e78f97266474e1979 (patch)
treec89943a2506c5b00e8af5cfc6d99bc4514cde791 /src
parentMerge pull request #6074 (diff)
downloadmonero-3b41933335c3f49d2783d60e78f97266474e1979.tar.xz
wallet: don't issue node rpc proxy requests in '--offline' mode
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 7f8b48b8d..b6ffc039c 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -5394,6 +5394,7 @@ bool wallet2::check_connection(uint32_t *version, bool *ssl, uint32_t timeout)
void wallet2::set_offline(bool offline)
{
m_offline = offline;
+ m_node_rpc_proxy.set_offline(offline);
m_http_client.set_auto_connect(!offline);
if (offline)
{