diff --git a/src/main/java/com/sparrowwallet/drongo/policy/Miniscript.java b/src/main/java/com/sparrowwallet/drongo/policy/Miniscript.java index 98294b5..d92883c 100644 --- a/src/main/java/com/sparrowwallet/drongo/policy/Miniscript.java +++ b/src/main/java/com/sparrowwallet/drongo/policy/Miniscript.java @@ -6,7 +6,7 @@ import java.util.regex.Pattern; public class Miniscript { private static final Pattern SINGLE_PATTERN = Pattern.compile("pkh?\\("); 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;