Skip to content

Commit ced9aa8

Browse files
committed
Use long instead of byte
1 parent e63c900 commit ced9aa8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ public class Mast {
1111

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

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

18-
public static String generateControlBlock(String[] pubkeys, byte threshold, String sigAggPubkey) {
18+
public static String generateControlBlock(String[] pubkeys, long threshold, String sigAggPubkey) {
1919
return generate_control_block(TextUtils.join("", pubkeys).toString(), threshold, sigAggPubkey);
2020
}
2121
}
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)