From 87b1153f3748a5031f5292451c13259aaf6c7c36 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 17 Jul 2016 09:33:31 +0100 Subject: wallet2_api: use uint64_t for amounts --- src/wallet/api/pending_transaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wallet') diff --git a/src/wallet/api/pending_transaction.cpp b/src/wallet/api/pending_transaction.cpp index c4a770f87..26ce9fc7e 100644 --- a/src/wallet/api/pending_transaction.cpp +++ b/src/wallet/api/pending_transaction.cpp @@ -118,7 +118,7 @@ uint64_t PendingTransactionImpl::amount() const uint64_t PendingTransactionImpl::dust() const { - uint32_t result = 0; + uint64_t result = 0; for (const auto & ptx : m_pending_tx) { result += ptx.dust; } @@ -127,7 +127,7 @@ uint64_t PendingTransactionImpl::dust() const uint64_t PendingTransactionImpl::fee() const { - uint32_t result = 0; + uint64_t result = 0; for (const auto ptx : m_pending_tx) { result += ptx.fee; } -- cgit v1.2.3