aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-17 16:37:30 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-17 16:37:30 +0200
commit5df6f0be806587abee8e1cc956697302747124c8 (patch)
treecdb770190efdc81a316962918a6276cf036f3e30 /src/wallet/api/wallet.cpp
parent2988e1be8ced33d5196611539abaacbb2ac88aa6 (diff)
parent4fca34ddb4d711ad45f4ecb30d74c7d8ebdcba5b (diff)
downloadmonzero-core-5df6f0be806587abee8e1cc956697302747124c8.tar.gz
monzero-core-5df6f0be806587abee8e1cc956697302747124c8.tar.xz
monzero-core-5df6f0be806587abee8e1cc956697302747124c8.zip
Merge pull request #1318
4fca34d Wallet2: calculate approximate blockchain height on offline creation (Jacob Brydolf)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 134ea601c..d21d8b900 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -469,7 +469,10 @@ uint64_t WalletImpl::blockChainHeight() const
{
return m_wallet->get_blockchain_current_height();
}
-
+uint64_t WalletImpl::approximateBlockChainHeight() const
+{
+ return m_wallet->get_approximate_blockchain_height();
+}
uint64_t WalletImpl::daemonBlockChainHeight() const
{
std::string err;