aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorbenevanoff <benjaminevanoff99@gmail.com>2021-04-05 13:41:04 -0500
committerselsta <selsta@sent.at>2021-04-22 04:33:03 +0200
commit6e22710f0e1e09e3c552743b2263ddaec06453b3 (patch)
tree1a4fb066a204f500828501acbb60a62e5d2c8016 /src/wallet/api/wallet.cpp
parentwallet_api: add isDeterministic() (diff)
downloadmonero-6e22710f0e1e09e3c552743b2263ddaec06453b3.tar.xz
expose set_offline to wallet api
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 9d3ec4399..b6f2a41f4 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -2310,6 +2310,10 @@ bool WalletImpl::rescanSpent()
return true;
}
+void WalletImpl::setOffline(bool offline)
+{
+ m_wallet->set_offline(offline);
+}
void WalletImpl::hardForkInfo(uint8_t &version, uint64_t &earliest_height) const
{