diff options
author | selsta <selsta@sent.at> | 2019-01-02 01:08:46 +0100 |
---|---|---|
committer | selsta <selsta@sent.at> | 2019-01-02 11:25:49 +0100 |
commit | 13785ec96b7148e03c4b4e19fbf0c95847cbacb0 (patch) | |
tree | f94dbbf409d7ee8ee50b431c3152c1ff7b12a28a /src/wallet/api/wallet.cpp | |
parent | Merge pull request #4960 (diff) | |
download | monero-13785ec96b7148e03c4b4e19fbf0c95847cbacb0.tar.xz |
wallet api/device: set estimated restore height if none is provided
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 7cd3b65bb..ffc4b716c 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()) { |