diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-02-27 14:36:23 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-02-27 14:36:23 +0200 |
commit | 685259082a1420934bb567c88e670aed074fcffb (patch) | |
tree | d1019e6a8fa705e7bf7cc4bc87806151b43e92d2 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #5193 (diff) | |
parent | wallet api/device: set estimated restore height if none is provided (diff) | |
download | monero-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.cpp | 6 |
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()) { |