Only update the transactionrecord if the fee bump has been commited

pull/365/head
Jonas Schnelli 8 years ago
parent 6ed4368f12
commit 9b9ca538cd
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D

@ -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