From 9b9ca538cdf95c3a16408229772b69b0c956fbc0 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Thu, 11 May 2017 09:33:40 +0200 Subject: [PATCH] Only update the transactionrecord if the fee bump has been commited --- src/qt/transactionview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 4616685d35..9008c81634 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -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()