Skip to content

Commit 02a6152

Browse files
committed
Fix spelling
1 parent 77fe297 commit 02a6152

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static native String get_sighash(String prev_tx,
1717
String agg_pubkey,
1818
long sigversion);
1919

20-
public static native String build_raw_scirpt_tx(String base_tx,
20+
public static native String build_raw_script_tx(String base_tx,
2121
String agg_signature,
2222
String agg_pubkey,
2323
String control,
@@ -30,7 +30,7 @@ public static native String build_raw_scirpt_tx(String base_tx,
3030

3131
public static native String get_my_privkey(String phrase, String pd_passphrase);
3232

33-
public static native String get_scirpt_pubkey(String addr);
33+
public static native String get_script_pubkey(String addr);
3434

3535
public static native String get_spent_outputs(String prev_tx, long input_index);
3636

@@ -43,7 +43,7 @@ public static String generateSchnorrSignature(String message, String privkey) {
4343
}
4444

4545
public static String getScriptPubkey(String addr) {
46-
return get_scirpt_pubkey(addr);
46+
return get_script_pubkey(addr);
4747
}
4848

4949
public static String generateRawTx(String[] txids, long[] input_indexs, String[] addresses, long[] amounts) {
@@ -76,7 +76,7 @@ public static String getSighash(String prev_tx, String tx, long input_index, Str
7676
}
7777

7878
public static String buildThresholdTx(String tx, String agg_signature, String agg_pubkey, String control, String txid, long input_index) {
79-
return build_raw_scirpt_tx(tx, agg_signature, agg_pubkey, control, txid, input_index);
79+
return build_raw_script_tx(tx, agg_signature, agg_pubkey, control, txid, input_index);
8080
}
8181

8282
public static String buildTaprootTx(String tx, String signature, String txid, long input_index) {

0 commit comments

Comments
 (0)