wallet api/device: set estimated restore height if none is provided

This commit is contained in:
selsta
2019-01-02 01:08:46 +01:00
parent e344d93ce7
commit 13785ec96b
4 changed files with 15 additions and 0 deletions
+6
View File
@@ -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()) {