diff options
author | benevanoff <benjaminevanoff99@gmail.com> | 2021-04-05 13:41:04 -0500 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-04-22 04:33:03 +0200 |
commit | 6e22710f0e1e09e3c552743b2263ddaec06453b3 (patch) | |
tree | 1a4fb066a204f500828501acbb60a62e5d2c8016 /src/wallet/api/wallet.cpp | |
parent | wallet_api: add isDeterministic() (diff) | |
download | monero-6e22710f0e1e09e3c552743b2263ddaec06453b3.tar.xz |
expose set_offline to wallet api
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 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 { |