From 36a89ab435fc5a2bc7860c6dc2448404ea20dc8e Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Sat, 8 Oct 2016 00:57:09 +0200 Subject: libwallet_api: Added option to restore from specific height --- 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 4d35bc404..447d46651 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -404,6 +404,10 @@ void WalletImpl::initAsync(const string &daemon_address, uint64_t upper_transact startRefresh(); } +void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height) +{ + m_wallet->set_refresh_from_block_height(refresh_from_block_height); +} uint64_t WalletImpl::balance() const -- cgit v1.2.3