Skip to content

Commit

Permalink
spend: make coin selection helpers private
Browse files Browse the repository at this point in the history
They aren't externally called anymore
  • Loading branch information
darosior committed Dec 8, 2023
1 parent 33be1ff commit 6ddda61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub struct CandidateCoin {
///
/// Using this metric with `must_have_change: false` is equivalent to using
/// [`LowestFee`].
pub struct LowestFeeChangeCondition<'c, C> {
struct LowestFeeChangeCondition<'c, C> {
/// The underlying [`LowestFee`] metric to use.
pub lowest_fee: LowestFee<'c, C>,
/// If `true`, only solutions with change will be found.
Expand Down Expand Up @@ -230,7 +230,7 @@ where
///
/// `must_have_change` indicates whether the transaction must have a change output.
/// If `true`, the returned change amount will be positive.
pub fn select_coins_for_spend(
fn select_coins_for_spend(
candidate_coins: &[CandidateCoin],
base_tx: bitcoin::Transaction,
change_txo: bitcoin::TxOut,
Expand Down

0 comments on commit 6ddda61

Please sign in to comment.