mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
wallet: don't issue node rpc proxy requests in '--offline' mode
This commit is contained in:
parent
06b0441762
commit
3b41933335
1 changed files with 1 additions and 0 deletions
|
@ -5394,6 +5394,7 @@ bool wallet2::check_connection(uint32_t *version, bool *ssl, uint32_t timeout)
|
||||||
void wallet2::set_offline(bool offline)
|
void wallet2::set_offline(bool offline)
|
||||||
{
|
{
|
||||||
m_offline = offline;
|
m_offline = offline;
|
||||||
|
m_node_rpc_proxy.set_offline(offline);
|
||||||
m_http_client.set_auto_connect(!offline);
|
m_http_client.set_auto_connect(!offline);
|
||||||
if (offline)
|
if (offline)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue