Skip to content

Commit

Permalink
function name refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
atacann committed Jan 3, 2025
1 parent 882e989 commit c216722
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/src/builder/sighash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn create_nofn_sighash_stream(
)
.compute_txid();

let mut challenge_tx = builder::transaction::create_challenge_tx(
let mut challenge_tx = builder::transaction::create_challenge_txhandler(
kickoff_txid,
nofn_xonly_pk,
*operator_xonly_pk,
Expand All @@ -147,7 +147,7 @@ pub fn create_nofn_sighash_stream(
Some(bitcoin::sighash::TapSighashType::SinglePlusAnyoneCanPay)
)?;

let mut happy_reimburse_tx = builder::transaction::create_happy_reimburse_tx(
let mut happy_reimburse_tx = builder::transaction::create_happy_reimburse_txhandler(
move_txid,
kickoff_txid,
nofn_xonly_pk,
Expand Down Expand Up @@ -258,7 +258,7 @@ pub fn create_nofn_sighash_stream(
None,
)?;

let mut disprove_tx = builder::transaction::create_disprove_tx(
let mut disprove_tx = builder::transaction::create_disprove_txhandler(
assert_end_tx.tx.compute_txid(),
time_txid,
nofn_xonly_pk,
Expand Down
6 changes: 3 additions & 3 deletions core/src/builder/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ pub fn create_assert_end_txhandler(
}
}

pub fn create_disprove_tx(
pub fn create_disprove_txhandler(
assert_end_txid: Txid,
time_txid: Txid,
nofn_xonly_pk: XOnlyPublicKey,
Expand Down Expand Up @@ -774,7 +774,7 @@ pub fn create_disprove_tx(
}
}

pub fn create_challenge_tx(
pub fn create_challenge_txhandler(
kickoff_txid: Txid,
nofn_xonly_pk: XOnlyPublicKey,
operator_xonly_pk: XOnlyPublicKey,
Expand Down Expand Up @@ -818,7 +818,7 @@ pub fn create_challenge_tx(
}
}

pub fn create_happy_reimburse_tx(
pub fn create_happy_reimburse_txhandler(
move_txid: Txid,
kickoff_txid: Txid,
nofn_xonly_pk: XOnlyPublicKey,
Expand Down

0 comments on commit c216722

Please sign in to comment.