Skip to content

Commit dc9a2b9

Browse files
committed
Un-expose two functions which aren't useful and have no (real) docs
1 parent 3996eaa commit dc9a2b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ pub fn make_funding_redeemscript(broadcaster: &PublicKey, countersignatory: &Pub
526526
}
527527

528528
/// panics if htlc.transaction_output_index.is_none()!
529-
pub fn build_htlc_transaction(prev_hash: &Txid, feerate_per_kw: u32, contest_delay: u16, htlc: &HTLCOutputInCommitment, broadcaster_delayed_payment_key: &PublicKey, revocation_key: &PublicKey) -> Transaction {
529+
pub(crate) fn build_htlc_transaction(prev_hash: &Txid, feerate_per_kw: u32, contest_delay: u16, htlc: &HTLCOutputInCommitment, broadcaster_delayed_payment_key: &PublicKey, revocation_key: &PublicKey) -> Transaction {
530530
let mut txins: Vec<TxIn> = Vec::new();
531531
txins.push(TxIn {
532532
previous_output: OutPoint {
@@ -1177,8 +1177,7 @@ impl<'a> TrustedCommitmentTransaction<'a> {
11771177
}
11781178
}
11791179

1180-
/// Get the transaction number obscure factor
1181-
pub fn get_commitment_transaction_number_obscure_factor(
1180+
pub(crate) fn get_commitment_transaction_number_obscure_factor(
11821181
broadcaster_payment_basepoint: &PublicKey,
11831182
countersignatory_payment_basepoint: &PublicKey,
11841183
outbound_from_broadcaster: bool,

0 commit comments

Comments
 (0)