Skip to content

Commit 20c3215

Browse files
committed
credit values are CAmount
1 parent 924745d commit 20c3215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const
16081608
if (IsCoinBase() && GetBlocksToMaturity() > 0)
16091609
return 0;
16101610

1611-
int64_t credit = 0;
1611+
CAmount credit = 0;
16121612
if (filter & ISMINE_SPENDABLE)
16131613
{
16141614
// GetBalance can assume transactions in mapWallet won't change

0 commit comments

Comments
 (0)