Skip to content

Commit db2a995

Browse files
committed
Modify api to get the threshold public key
1 parent 9371667 commit db2a995

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

musig2/src/main/java/com/chainx/musig2bitcoin/Mast.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ public class Mast {
77
System.loadLibrary("musig2_dll");
88
}
99

10-
public static native String generate_threshold_pubkey(String jarg1, long jarg2, String network);
10+
public static native String generate_threshold_pubkey(String jarg1, long jarg2);
1111

1212
public static native String generate_control_block(String jarg1, long jarg2, String jarg3);
1313

14-
public static String generateThresholdAddress(String[] pubkeys, byte threshold, String network) {
15-
return generate_threshold_pubkey(TextUtils.join("", pubkeys).toString(), threshold, network);
14+
public static String generateThresholdAddress(String[] pubkeys, byte threshold) {
15+
return generate_threshold_pubkey(TextUtils.join("", pubkeys).toString(), threshold);
1616
}
1717

1818
public static String generateControlBlock(String[] pubkeys, byte threshold, String sigAggPubkey) {
-4 KB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)