mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
wallet: Fix for exported confirmation field in payment to self transactions
This commit is contained in:
parent
b545a6e689
commit
9760293ce6
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
|
|||
return details;
|
||||
}
|
||||
case ConfirmedRole:
|
||||
return rec->status.countsForBalance;
|
||||
return rec->status.status == TransactionStatus::Status::Confirming || rec->status.status == TransactionStatus::Status::Confirmed;
|
||||
case FormattedAmountRole:
|
||||
// Used for copy/export, so don't include separators
|
||||
return formatTxAmount(rec, false, BitcoinUnits::separatorNever);
|
||||
|
|
Loading…
Reference in a new issue