Merge #9164: [trivial] credit values are CAmount

20c3215 credit values are CAmount (Gregory Sanders)
This commit is contained in:
Pieter Wuille committed 2016-11-15 09:44:07 -08:00
commit 6eeac6e30d
1 file changed
+1 -1
+1 -1
View File
@@ -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