Skip to content

Commit 9b9ca53

Browse files
committed
Only update the transactionrecord if the fee bump has been commited
1 parent 6ed4368 commit 9b9ca53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/qt/transactionview.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,10 @@ void TransactionView::bumpFee()
414414
hash.SetHex(hashQStr.toStdString());
415415

416416
// Bump tx fee over the walletModel
417-
model->bumpFee(hash);
418-
419-
// Update the table
420-
model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
417+
if (model->bumpFee(hash)) {
418+
// Update the table
419+
model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
420+
}
421421
}
422422

423423
void TransactionView::copyAddress()

0 commit comments

Comments
 (0)