diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-05-29 14:42:42 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-05-29 14:42:48 +0200 |
commit | f2e2c5ebcccf8d656b850c28452e6e652934f36b (patch) | |
tree | 1e47f36c3448d71fcdb6ddb91d2591670c432935 /src/qt | |
parent | 73407ff65cefa29ce522cb3cb43898497e8afa30 (diff) | |
parent | 9760293ce632e09f0175368ebf0c8502ac9b10d4 (diff) |
Merge #14988: wallet: Fix for confirmed column in csv export for payment to self transactions
9760293ce632e09f0175368ebf0c8502ac9b10d4 wallet: Fix for exported confirmation field in payment to self transactions (Ben Carman)
Pull request description:
Closes #3455
ACKs for top commit:
jonasschnelli:
Tested ACK 9760293ce632e09f0175368ebf0c8502ac9b10d4
Tree-SHA512: 8207768771ad787f716b966c4aa7aeef2da8a602e32e3510e41c7b49ec5ec679a3835d248be5016d4b37764f9914846f7c41c11cf48cddb617cb7ef831318fd7
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 0867ae8105..04eb1ae706 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -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); |