aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-02-27 14:36:23 +0200
committerRiccardo Spagni <ric@spagni.net>2019-02-27 14:36:23 +0200
commit685259082a1420934bb567c88e670aed074fcffb (patch)
treed1019e6a8fa705e7bf7cc4bc87806151b43e92d2 /src/wallet/api/wallet.cpp
parentMerge pull request #5193 (diff)
parentwallet api/device: set estimated restore height if none is provided (diff)
downloadmonero-685259082a1420934bb567c88e670aed074fcffb.tar.xz
Merge pull request #5194
348320a3 wallet api/device: set estimated restore height if none is provided (selsta) 3c1c2499 wallet api: don't truncate address in subaddress_account (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 ccbbe05be..ea1a93b67 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -941,6 +941,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()) {