mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
allow message sign/verify from nested segwit wallets
This commit is contained in:
parent
6337e1cf7d
commit
9293b622a3
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ public class MessageSignDialog extends Dialog<ButtonBar.ButtonData> {
|
|||
private boolean isValidAddress() {
|
||||
try {
|
||||
Address address = getAddress();
|
||||
return address.getScriptType() != ScriptType.P2TR && address.getScriptType().isAllowed(PolicyType.SINGLE);
|
||||
return address.getScriptType() != ScriptType.P2TR && (address.getScriptType().isAllowed(PolicyType.SINGLE) || address.getScriptType() == ScriptType.P2SH);
|
||||
} catch (InvalidAddressException e) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue