aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-04-16 12:51:22 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-04-16 12:51:22 -0500
commit13418dbb98df1cc8281f8cabeb9b9c9292ec7ff9 (patch)
tree9e77fb2260de5f81fe94baf707e3fa8b79033855 /src/wallet/api/wallet.cpp
parentMerge pull request #7642 (diff)
parentexpose set_offline to wallet api (diff)
downloadmonero-13418dbb98df1cc8281f8cabeb9b9c9292ec7ff9.tar.xz
Merge pull request #7648
25e8254 expose set_offline to wallet api (benevanoff)
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 3bbd9ce0b..5d9eb7a14 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -2308,6 +2308,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
{