From 25e82545f35b5bfe8beb17220c232fb89411d4da Mon Sep 17 00:00:00 2001 From: benevanoff Date: Mon, 5 Apr 2021 13:41:04 -0500 Subject: expose set_offline to wallet api --- src/wallet/api/wallet.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wallet/api/wallet.cpp') 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 { -- cgit v1.2.3