Browse Source

Merge #9164: [trivial] credit values are CAmount

20c3215 credit values are CAmount (Gregory Sanders)
0.14
Pieter Wuille 8 years ago
parent
commit
6eeac6e30d
No known key found for this signature in database
GPG Key ID: DBA1A67379A1A931
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

@ -1608,7 +1608,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const @@ -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

Loading…
Cancel
Save