Only update the transactionrecord if the fee bump has been commited
This commit is contained in:
parent
6ed4368f12
commit
9b9ca538cd
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue