diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-01-12 18:23:23 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-12 18:25:34 +0100 |
commit | db56a03ff2820f85da21c3c8fc4cc60e64c5b88d (patch) | |
tree | b6e8c3a583171deb841ab0366f977be833bcc8e4 /src/wallet/api/transaction_info.cpp | |
parent | Merge pull request #1542 (diff) | |
download | monero-db56a03ff2820f85da21c3c8fc4cc60e64c5b88d.tar.xz |
Wallet2 + API: Callbacks for unconfirmed transfers
Diffstat (limited to 'src/wallet/api/transaction_info.cpp')
-rw-r--r-- | src/wallet/api/transaction_info.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_info.cpp b/src/wallet/api/transaction_info.cpp index 8d26f2035..576ae8532 100644 --- a/src/wallet/api/transaction_info.cpp +++ b/src/wallet/api/transaction_info.cpp @@ -49,6 +49,7 @@ TransactionInfoImpl::TransactionInfoImpl() , m_fee(0) , m_blockheight(0) , m_timestamp(0) + , m_confirmations(0) { } @@ -109,6 +110,11 @@ const std::vector<TransactionInfo::Transfer> &TransactionInfoImpl::transfers() c return m_transfers; } +uint64_t TransactionInfoImpl::confirmations() const +{ + return m_confirmations; +} + } // namespace namespace Bitmonero = Monero; |