mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
Only update the transactionrecord if the fee bump has been commited
This commit is contained in:
parent
6ed4368f12
commit
9b9ca538cd
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user