aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-10 17:56:35 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-10 17:57:13 +0000
commit7f30c4973131a5153eef4a68947034a8dedf3a93 (patch)
treeb7e3d35eedfa084142c7e84450e92f982c16cfc6 /src/wallet
parentMerge pull request #7072 (diff)
downloadmonero-7f30c4973131a5153eef4a68947034a8dedf3a93.tar.xz
simplewallet: don't complain about connecting to the daemon when offline
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 68f03db72..2e455c40c 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1549,6 +1549,7 @@ private:
void finish_rescan_bc_keep_key_images(uint64_t transfer_height, const crypto::hash &hash);
void enable_dns(bool enable) { m_use_dns = enable; }
void set_offline(bool offline = true);
+ bool is_offline() const { return m_offline; }
uint64_t credits() const { return m_rpc_payment_state.credits; }
void credit_report(uint64_t &expected_spent, uint64_t &discrepancy) const { expected_spent = m_rpc_payment_state.expected_spent; discrepancy = m_rpc_payment_state.discrepancy; }