aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorJacob Brydolf <jacob@brydolf.net>2016-10-08 00:57:09 +0200
committerJacob Brydolf <jacob@brydolf.net>2016-10-08 00:57:09 +0200
commit36a89ab435fc5a2bc7860c6dc2448404ea20dc8e (patch)
tree0b9569cf0b6e68fc754876cc07129c23bf869252 /src/wallet/api/wallet.cpp
parentMerge pull request #1182 (diff)
downloadmonero-36a89ab435fc5a2bc7860c6dc2448404ea20dc8e.tar.xz
libwallet_api: Added option to restore from specific height
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 4 insertions, 0 deletions
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