aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2016-11-15 09:19:23 -0500
committerGregory Sanders <gsanders87@gmail.com>2016-11-15 09:19:23 -0500
commit20c3215a9031b3dbbde641b933246b3e222e4eca (patch)
treeb181b974c8c8ccb6dbcac9d568b2d06045bf9194
parent924745dd6f5fefc5beb1a3fbf41c0e84d37de82b (diff)
credit values are CAmount
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index c2bac6e330..3e18cb702c 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1608,7 +1608,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const
if (IsCoinBase() && GetBlocksToMaturity() > 0)
return 0;
- int64_t credit = 0;
+ CAmount credit = 0;
if (filter & ISMINE_SPENDABLE)
{
// GetBalance can assume transactions in mapWallet won't change