diff options
author | benevanoff <benjaminevanoff99@gmail.com> | 2021-04-05 13:41:04 -0500 |
---|---|---|
committer | benevanoff <benjaminevanoff99@gmail.com> | 2021-04-05 13:41:04 -0500 |
commit | 25e82545f35b5bfe8beb17220c232fb89411d4da (patch) | |
tree | 4d62467b0ac3b3b990b2608ad919f60b887c486b /src/wallet/api/wallet.cpp | |
parent | Merge pull request #7260 (diff) | |
download | monero-25e82545f35b5bfe8beb17220c232fb89411d4da.tar.xz |
expose set_offline to wallet api
Diffstat (limited to '')
-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 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 { |