diff options
author | Jacob Brydolf <jacob@brydolf.net> | 2016-10-08 00:57:09 +0200 |
---|---|---|
committer | Jacob Brydolf <jacob@brydolf.net> | 2016-10-08 00:57:09 +0200 |
commit | 36a89ab435fc5a2bc7860c6dc2448404ea20dc8e (patch) | |
tree | 0b9569cf0b6e68fc754876cc07129c23bf869252 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #1182 (diff) | |
download | monero-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.cpp | 4 |
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 |