diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:40:20 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:40:20 +0200 |
commit | c84d559fb11af84bcca27cfb8328334cdbc318b8 (patch) | |
tree | 926164fda58c5607ab29983a051b536f2d856126 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #5032 (diff) | |
parent | wallet api/device: set estimated restore height if none is provided (diff) | |
download | monero-c84d559fb11af84bcca27cfb8328334cdbc318b8.tar.xz |
Merge pull request #5034
13785ec9 wallet api/device: set estimated restore height if none is provided (selsta)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 785d2bf36..595dbac5e 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -942,6 +942,12 @@ uint64_t WalletImpl::approximateBlockChainHeight() const { return m_wallet->get_approximate_blockchain_height(); } + +uint64_t WalletImpl::estimateBlockChainHeight() const +{ + return m_wallet->estimate_blockchain_height(); +} + uint64_t WalletImpl::daemonBlockChainHeight() const { if(m_wallet->light_wallet()) { |