mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 09:36:44 +00:00
fix single character multisig threshold parsing issue
This commit is contained in:
parent
d7b97c99dc
commit
8313d16e97
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import java.util.regex.Pattern;
|
||||||
public class Miniscript {
|
public class Miniscript {
|
||||||
private static final Pattern SINGLE_PATTERN = Pattern.compile("pkh?\\(");
|
private static final Pattern SINGLE_PATTERN = Pattern.compile("pkh?\\(");
|
||||||
private static final Pattern TAPROOT_PATTERN = Pattern.compile("tr\\(");
|
private static final Pattern TAPROOT_PATTERN = Pattern.compile("tr\\(");
|
||||||
private static final Pattern MULTI_PATTERN = Pattern.compile("multi\\(([\\d+])");
|
private static final Pattern MULTI_PATTERN = Pattern.compile("multi\\((\\d+)");
|
||||||
|
|
||||||
private String script;
|
private String script;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue