aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Moffett <john.moff@gmail.com>2022-11-25 15:56:40 -0500
committerJohn Moffett <john.moff@gmail.com>2022-11-25 15:56:40 -0500
commite75d2276324d54a01971afdf531df91748275bd5 (patch)
treee4f77275924a4366aee19798739a60f9589228a9 /src
parent48174c0f287b19931ca110670610bd03a03eb914 (diff)
Minor fix: Don't directly delete abandoned txes
This fully closes bitcoin#12179. Currently, in the GUI, when a user abandons a transaction, a call is made to remove it from the list, and another signal fires (eventually) that adds it back to the GUI with a trash can icon. There are no conditions where the abandoned transaction should be directly removed from the GUI. If the underlying model changes, the deletion will be reflected anyway.
Diffstat (limited to 'src')
-rw-r--r--src/qt/transactionview.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp
index b7432a0d77..b1c722388c 100644
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -421,9 +421,6 @@ void TransactionView::abandonTx()
// Abandon the wallet transaction over the walletModel
model->wallet().abandonTransaction(hash);
-
- // Update the table
- model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
}
void TransactionView::bumpFee([[maybe_unused]] bool checked)