Only update the transactionrecord if the fee bump has been commited

This commit is contained in:
Jonas Schnelli 2017-05-11 09:33:40 +02:00
parent 6ed4368f12
commit 9b9ca538cd
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D

View File

@ -414,10 +414,10 @@ void TransactionView::bumpFee()
hash.SetHex(hashQStr.toStdString()); hash.SetHex(hashQStr.toStdString());
// Bump tx fee over the walletModel // Bump tx fee over the walletModel
model->bumpFee(hash); if (model->bumpFee(hash)) {
// Update the table
// Update the table model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false);
model->getTransactionTableModel()->updateTransaction(hashQStr, CT_UPDATED, false); }
} }
void TransactionView::copyAddress() void TransactionView::copyAddress()