Skip to content

Commit

Permalink
Add information to "Confirm fee bump" window
Browse files Browse the repository at this point in the history
Workaround to fix issue: bitcoin/bitcoin#20795 by informing the user about new inputs and outputs in replacement tx
  • Loading branch information
Prayank committed Jan 21, 2021
1 parent f1f26b8 commit 3d93f27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ bool WalletModel::bumpFee(uint256 hash, uint256& new_hash)
questionString.append("</td><td>");
questionString.append(BitcoinUnits::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), new_fee));
questionString.append("</td></tr></table>");
questionString.append("<br><br>");
questionString.append(tr("WARNING: New inputs and outputs can be added in replacement transaction if necessary which affects privacy."));
SendConfirmationDialog confirmationDialog(tr("Confirm fee bump"), questionString);
confirmationDialog.exec();
QMessageBox::StandardButton retval = static_cast<QMessageBox::StandardButton>(confirmationDialog.result());
Expand Down

0 comments on commit 3d93f27

Please sign in to comment.