diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:51:22 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:51:22 -0500 |
commit | 13418dbb98df1cc8281f8cabeb9b9c9292ec7ff9 (patch) | |
tree | 9e77fb2260de5f81fe94baf707e3fa8b79033855 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #7642 (diff) | |
parent | expose set_offline to wallet api (diff) | |
download | monero-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.cpp | 4 |
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 { |