aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-03 21:37:45 +0200
committerJaquee <jaquee.monero@gmail.com>2017-08-03 21:37:45 +0200
commita839a6fa8a01ade5672d8205bc5a2632a9992fc2 (patch)
treef488b794b798502a4ffea9cbfd91d97d74089a81 /src/wallet/api/transaction_info.h
parentMerge pull request #2159 (diff)
downloadmonero-a839a6fa8a01ade5672d8205bc5a2632a9992fc2.tar.xz
Wallet API: add tx unlock time
Diffstat (limited to '')
-rw-r--r--src/wallet/api/transaction_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h
index 16fa5da7a..ee56b859f 100644
--- a/src/wallet/api/transaction_info.h
+++ b/src/wallet/api/transaction_info.h
@@ -56,6 +56,7 @@ public:
virtual std::string paymentId() const;
virtual const std::vector<Transfer> &transfers() const;
virtual uint64_t confirmations() const;
+ virtual uint64_t unlockTime() const;
private:
int m_direction;
@@ -69,6 +70,7 @@ private:
std::string m_paymentid;
std::vector<Transfer> m_transfers;
uint64_t m_confirmations;
+ uint64_t m_unlock_time;
friend class TransactionHistoryImpl;