aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 21:40:20 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 21:40:20 +0200
commitc84d559fb11af84bcca27cfb8328334cdbc318b8 (patch)
tree926164fda58c5607ab29983a051b536f2d856126 /src/wallet/api/wallet.cpp
parentMerge pull request #5032 (diff)
parentwallet api/device: set estimated restore height if none is provided (diff)
downloadmonero-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.cpp6
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()) {