diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-04-04 09:58:24 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-04-04 09:58:33 +0200 |
commit | a9149688f87cb790a600400abd9af72c3ee0c312 (patch) | |
tree | c3fbf2c496828a7361b7b690fb54079a9d75f476 /src/qt/transactionrecord.cpp | |
parent | e662a76288011fe6a640f1c02c2381284ad93a03 (diff) | |
parent | 8efed3bc93a15fc715fd4f3cca50f44685872b5e (diff) |
Merge #7707: [RPC][QT] UI support for abandoned transactions
8efed3b [Qt] Support for abandoned/abandoning transactions (Jonas Schnelli)
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r-- | src/qt/transactionrecord.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index 97b77cc93d..4fe47181f6 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -239,6 +239,8 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx) else if (status.depth == 0) { status.status = TransactionStatus::Unconfirmed; + if (wtx.isAbandoned()) + status.status = TransactionStatus::Abandoned; } else if (status.depth < RecommendedNumConfirmations) { |