aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-10-09 14:33:17 +0200
committerRiccardo Spagni <ric@spagni.net>2016-10-09 14:33:17 +0200
commit8cd01bc37829b8ac22ea2f47e0166355951f301c (patch)
tree3c4ee2e1bf6648ea00c43ca682f104b87a73812f /src/wallet/api/wallet.cpp
parentMerge pull request #1191 (diff)
parentlibwallet_api: Added option to restore from specific height (diff)
downloadmonero-8cd01bc37829b8ac22ea2f47e0166355951f301c.tar.xz
Merge pull request #1192
36a89ab libwallet_api: Added option to restore from specific height (Jacob Brydolf)
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