From 3b41933335c3f49d2783d60e78f97266474e1979 Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 19 Nov 2019 03:18:06 +0000 Subject: wallet: don't issue node rpc proxy requests in '--offline' mode --- src/wallet/wallet2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) { -- cgit v1.2.3