aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-07 23:34:05 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-07 23:34:06 +0200
commitbfd2532ea53b9422b219aec61a662318b18b747b (patch)
tree6d2463d775ef0ba09a4cf336c5b86c527fc1ea66 /src/wallet/api/transaction_info.h
parentMerge pull request #2263 (diff)
parentWallet API: add tx unlock time (diff)
downloadmonero-bfd2532ea53b9422b219aec61a662318b18b747b.tar.xz
Merge pull request #2247
a839a6fa Wallet API: add tx unlock time (Jaquee)
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-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;