diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2016-11-15 09:19:23 -0500 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2016-11-15 09:19:23 -0500 |
commit | 20c3215a9031b3dbbde641b933246b3e222e4eca (patch) | |
tree | b181b974c8c8ccb6dbcac9d568b2d06045bf9194 | |
parent | 924745dd6f5fefc5beb1a3fbf41c0e84d37de82b (diff) |
credit values are CAmount
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
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 |