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
+1 -1
Submodule drongo updated: cab72b2037...077d2142cc
@@ -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;
}