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,11 +414,11 @@ 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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue