Skip to content

Commit

Permalink
Rename LBtcSwapTxV2 partial_sign same as BtcSwapTxV2
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Jun 27, 2024
1 parent ba449e0 commit b52d268
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/swaps/liquidv2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ impl LBtcSwapTxV2 {

/// Compute the Musig partial signature.
/// This is used to cooperatively close a Submarine or Chain Swap.
pub fn partial_sig(
pub fn partial_sign(
&self,
keys: &Keypair,
pub_nonce: &String,
Expand Down
2 changes: 1 addition & 1 deletion tests/chain_swaps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ fn liquid_bitcoin_v2_chain() {
let claim_tx_response =
boltz_api_v2.get_chain_claim_tx_details(&swap_id).unwrap();
let (partial_sig, pub_nonce) = refund_tx
.partial_sig(
.partial_sign(
&our_refund_keys,
&claim_tx_response.pub_nonce,
&claim_tx_response.transaction_hash,
Expand Down
2 changes: 1 addition & 1 deletion tests/liquid_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ fn liquid_v2_submarine() {

// Compute and send Musig2 partial sig
let (partial_sig, pub_nonce) = swap_tx
.partial_sig(
.partial_sign(
&our_keys,
&claim_tx_response.pub_nonce,
&claim_tx_response.transaction_hash,
Expand Down

0 comments on commit b52d268

Please sign in to comment.