aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-24 20:07:01 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-24 20:07:01 -0800
commit159c78758af0a0af9df9a4f9ab81888f9322e9be (patch)
tree867dfdbc03140a581a5572ac94bb84fde4af4d86
parentMerge pull request #6153 (diff)
parentwallet: don't issue node rpc proxy requests in '--offline' mode (diff)
downloadmonero-159c78758af0a0af9df9a4f9ab81888f9322e9be.tar.xz
Merge pull request #6154
3b419333 wallet: don't issue node rpc proxy requests in '--offline' mode (xiphon)
-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 4d2ec5103..5e3a8a08f 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -5412,6 +5412,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)
{