Skip to content

Commit

Permalink
Uniform function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
hacpy committed Nov 18, 2021
1 parent 248bf58 commit 0c6ac5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion musig2/src/main/java/com/chainx/musig2bitcoin/Mast.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Mast {

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

public static String generateThresholdPubkey(String[] pubkeys, byte threshold, String network) {
public static String generateThresholdAddress(String[] pubkeys, byte threshold, String network) {
return generate_threshold_pubkey(TextUtils.join("", pubkeys).toString(), threshold, network);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static String generateSpentOutputs(String[] prev_txs, long[] indexs) {
return spent_outputs;
}

public static String generateBtcAddress(String pubkey, String network) {
public static String getMyAddress(String pubkey, String network) {
return generate_btc_address(pubkey, network);
}
}

0 comments on commit 0c6ac5e

Please sign in to comment.