status = tr("Confirmed (%1 confirmations)").arg(wtx->status.depth);
break;
}
- if(wtx->type == TransactionRecord::Generated || wtx->type == TransactionRecord::StakeMint)
+
+ if(wtx->type == TransactionRecord::Generated)
{
switch(wtx->status.maturity)
{
return tr("Sent to");
case TransactionRecord::SendToSelf:
return tr("Payment to yourself");
- case TransactionRecord::StakeMint:
case TransactionRecord::Generated:
return tr("Mined");
default:
switch(wtx->type)
{
case TransactionRecord::Generated:
- case TransactionRecord::StakeMint:
return QIcon(":/icons/tx_mined");
case TransactionRecord::RecvWithAddress:
case TransactionRecord::RecvFromOther:
QVariant TransactionTableModel::txStatusDecoration(const TransactionRecord *wtx) const
{
- if(wtx->type == TransactionRecord::Generated || wtx->type == TransactionRecord::StakeMint)
+ if(wtx->type == TransactionRecord::Generated)
{
switch(wtx->status.maturity)
{
return QString::fromStdString(rec->getTxID());
case ConfirmedRole:
// Return True if transaction counts for balance
- return rec->status.confirmed && !((rec->type == TransactionRecord::Generated || rec->type == TransactionRecord::StakeMint) &&
- rec->status.maturity != TransactionStatus::Mature);
+ return rec->status.confirmed && !(rec->type == TransactionRecord::Generated && rec->status.maturity != TransactionStatus::Mature);
case FormattedAmountRole:
return formatTxAmount(rec, false);
}