diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-05-11 09:33:40 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-05-11 15:27:05 +0200 |
commit | 9b9ca538cdf95c3a16408229772b69b0c956fbc0 (patch) | |
tree | 3c145a81c40de1a45de3da361d4a23ea406159da | |
parent | 6ed4368f121572b4860d42d0d48007716c640608 (diff) |
Only update the transactionrecord if the fee bump has been commited
-rw-r--r-- | src/qt/transactionview.cpp | 8 |
1 files 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() |