mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
Clarity: change definition of "confirmed" to "counts towards balance"
This commit is contained in:
parent
2ccd47596b
commit
186f3e2f0c
1 changed files with 3 additions and 1 deletions
|
@ -588,7 +588,9 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
|
||||||
}
|
}
|
||||||
else if (role == ConfirmedRole)
|
else if (role == ConfirmedRole)
|
||||||
{
|
{
|
||||||
return rec->status.status == TransactionStatus::HaveConfirmations;
|
// Return True if transaction counts for balance
|
||||||
|
return rec->status.confirmed && !(rec->type == TransactionRecord::Generated &&
|
||||||
|
rec->status.maturity != TransactionStatus::Mature);
|
||||||
}
|
}
|
||||||
else if (role == FormattedAmountRole)
|
else if (role == FormattedAmountRole)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue