Wallet API: add tx unlock time

This commit is contained in:
Jaquee
2017-08-03 21:37:45 +02:00
parent ab594cfee9
commit a839a6fa8a
4 changed files with 10 additions and 0 deletions
+6
View File
@@ -50,6 +50,7 @@ TransactionInfoImpl::TransactionInfoImpl()
, m_blockheight(0)
, m_timestamp(0)
, m_confirmations(0)
, m_unlock_time(0)
{
}
@@ -115,6 +116,11 @@ uint64_t TransactionInfoImpl::confirmations() const
return m_confirmations;
}
uint64_t TransactionInfoImpl::unlockTime() const
{
return m_unlock_time;
}
} // namespace
namespace Bitmonero = Monero;