revise wording for non-default sighash warnings

This commit is contained in:
Craig Raw 2026-05-31 12:27:16 +02:00
parent 61ed816c87
commit b457caa5d2
2 changed files with 3 additions and 3 deletions

2
drongo

@ -1 +1 @@
Subproject commit cab72b203709accc0a3c602fbeba6c15398ad527
Subproject commit 077d2142cc3aad84f6f58868cf8f17fc61027fdc

View File

@ -2062,8 +2062,8 @@ public class AppController implements Initializable {
try {
psbt.verifySigHashes();
} catch(PSBTSignatureException e) {
Optional<ButtonType> result = AppServices.showWarningDialog("Unsafe PSBT",
e.getMessage() + "\n\nThis PSBT may be unsafe to sign.\n\nOpen the transaction?", ButtonType.YES, ButtonType.NO);
Optional<ButtonType> result = AppServices.showWarningDialog("Non-Default Sighash",
e.getMessage() + "\n\nReview this PSBT carefully before signing.\n\nOpen the transaction?", ButtonType.YES, ButtonType.NO);
if(result.isEmpty() || result.get() != ButtonType.YES) {
return;
}