mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
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.
This commit is contained in:
parent
48174c0f28
commit
e75d227632
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue