aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorbenevanoff <benjaminevanoff99@gmail.com>2021-04-05 13:41:04 -0500
committerbenevanoff <benjaminevanoff99@gmail.com>2021-04-05 13:41:04 -0500
commit25e82545f35b5bfe8beb17220c232fb89411d4da (patch)
tree4d62467b0ac3b3b990b2608ad919f60b887c486b /src/wallet/api/wallet.cpp
parentMerge pull request #7260 (diff)
downloadmonero-25e82545f35b5bfe8beb17220c232fb89411d4da.tar.xz
expose set_offline to wallet api
Diffstat (limited to '')
-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 9acc8484c..4a1d71003 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -2305,6 +2305,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
{