mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
credit values are CAmount
This commit is contained in:
parent
924745dd6f
commit
20c3215a90
@ -1608,7 +1608,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const
|
|||||||
if (IsCoinBase() && GetBlocksToMaturity() > 0)
|
if (IsCoinBase() && GetBlocksToMaturity() > 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int64_t credit = 0;
|
CAmount credit = 0;
|
||||||
if (filter & ISMINE_SPENDABLE)
|
if (filter & ISMINE_SPENDABLE)
|
||||||
{
|
{
|
||||||
// GetBalance can assume transactions in mapWallet won't change
|
// GetBalance can assume transactions in mapWallet won't change
|
||||||
|
Loading…
Reference in New Issue
Block a user