From 31f318aaeaccefd36ba86b032b2a64f27510c89e Mon Sep 17 00:00:00 2001 From: Jaquee Date: Thu, 24 Aug 2017 11:31:06 +0200 Subject: [PATCH] add wallet creation height getter --- src/libwalletqt/Wallet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 01298cf1..3fcc057f 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -47,6 +47,7 @@ class Wallet : public QObject Q_PROPERTY(QString publicSpendKey READ getPublicSpendKey) Q_PROPERTY(QString daemonLogPath READ getDaemonLogPath CONSTANT) Q_PROPERTY(QString walletLogPath READ getWalletLogPath CONSTANT) + Q_PROPERTY(quint64 walletCreationHeight READ getWalletCreationHeight CONSTANT) public: @@ -243,6 +244,7 @@ public: QString getSecretSpendKey() const {return QString::fromStdString(m_walletImpl->secretSpendKey());} QString getPublicSpendKey() const {return QString::fromStdString(m_walletImpl->publicSpendKey());} + quint64 getWalletCreationHeight() const {return m_walletImpl->getRefreshFromBlockHeight();} QString getDaemonLogPath() const; QString getWalletLogPath() const;