Browse Source

Only update the transactionrecord if the fee bump has been commited

0.15
Jonas Schnelli 8 years ago
parent
commit
9b9ca538cd
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D
  1. 8
      src/qt/transactionview.cpp

8
src/qt/transactionview.cpp

@ -414,10 +414,10 @@ void TransactionView::bumpFee() @@ -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…
Cancel
Save