diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-15 09:43:57 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-15 09:44:07 -0800 |
commit | 6eeac6e30d65f9a972067c1ea8c49978c8e631ac (patch) | |
tree | 94e6a4eb9154f6960ce45adce078c6df2827bf7c | |
parent | 018a4eb120dcdab73f07ca02d18a5c8843509d67 (diff) | |
parent | 20c3215a9031b3dbbde641b933246b3e222e4eca (diff) |
Merge #9164: [trivial] credit values are CAmount
20c3215 credit values are CAmount (Gregory Sanders)
-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 |