aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-20 14:29:33 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-20 14:29:33 +0200
commit38e5156392551f51007405a4fb90d48dc50e734f (patch)
tree634ad160b692237d62b972e9cb43ae1d992605c9 /src
parentMerge pull request #919 (diff)
parentwallet2_api: use uint64_t for amounts (diff)
downloadmonero-38e5156392551f51007405a4fb90d48dc50e734f.tar.xz
Merge pull request #914
87b1153 wallet2_api: use uint64_t for amounts (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/api/pending_transaction.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}