Merge pull request #5034

13785ec9 wallet api/device: set estimated restore height if none is provided (selsta)
This commit is contained in:
Riccardo Spagni
2019-01-16 21:40:20 +02:00
4 changed files with 15 additions and 0 deletions

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()) {