You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qt: Add Create Unsigned button to SendConfirmationDialog
Instead of having different buttons or changing button behavior for
making a PSBT, just have SendConfirmationDialog return whether the user
wants a PSBT or a broadcasted transaction. Since this dialog is used
by both the bumpFeeAction and the SendCoinsDialog, changes to both
to support the different behavior is needed. They will check
the return value of the SendConfirmationDialog for whether a PSBT
needs to be created instead of checking whether private keys are
disabled.
Strings used in this dialog are being slightly modified to work with
both private keys enabled and disabled wallets.
if (model->wallet().privateKeysDisabled() && !model->wallet().hasExternalSigner()) {
332
+
/*: Text to inform a user attempting to create a transaction of their current options. At this stage,
333
+
a user can only create a PSBT. This string is displayed when private keys are disabled and an external
334
+
signer is not available. */
335
335
question_string.append(tr("Please, review your transaction proposal. This will produce a Partially Signed Bitcoin Transaction (PSBT) which you can save or copy and then sign with e.g. an offline %1 wallet, or a PSBT-compatible hardware wallet.").arg(PACKAGE_NAME));
336
336
} else {
337
+
/*: Text to prompt a user to review the details of the transaction they are attempting to send. */
337
338
question_string.append(tr("Please, review your transaction."));
questionString.append(tr("Warning: This may pay the additional fee by reducing change outputs or adding inputs, when necessary. It may add a new change output if one does not already exist. These changes may potentially leak privacy."));
507
506
}
508
507
509
-
auto confirmationDialog = newSendConfirmationDialog(tr("Confirm fee bump"), questionString);
0 commit comments