aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libwalletqt/Wallet.h2
1 files changed, 2 insertions, 0 deletions
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;