From 6e22710f0e1e09e3c552743b2263ddaec06453b3 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 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 { -- cgit v1.2.3