mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Only update the transactionrecord if the fee bump has been commited
This commit is contained in:
parent
6ed4368f12
commit
9b9ca538cd
1 changed files with 4 additions and 4 deletions
|
|
@ -414,10 +414,10 @@ void TransactionView::bumpFee()
|
|||
hash.SetHex(hashQStr.toStdString());
|
||||
|
||||
// Bump tx fee over the walletModel
|
||||
model->bumpFee(hash);
|
||||
|
||||
// Update the table
|
||||
model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
|
||||
if (model->bumpFee(hash)) {
|
||||
// Update the table
|
||||
model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
|
||||
}
|
||||
}
|
||||
|
||||
void TransactionView::copyAddress()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue