Skip to content

Commit 6b039f4

Browse files
committed
docs(psbt): correct docs for UtxoFilter
1 parent 8b5ad3c commit 6b039f4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/psbt/params.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,9 @@ pub enum SelectionStrategy {
447447
LowestFee,
448448
}
449449

450-
/// [`UtxoFilter`] is a user-defined `Fn` closure which decides whether to exclude a UTXO
451-
/// from being selected.
450+
/// [`UtxoFilter`] is a user-defined `Fn` closure which decides whether to include a UTXO
451+
/// for coin selection. This has a default implementation that enables selection of all
452+
/// txouts passed to it.
452453
#[allow(clippy::type_complexity)]
453454
pub(crate) struct UtxoFilter(
454455
pub Arc<dyn Fn(&FullTxOut<ConfirmationBlockTime>) -> bool + Send + Sync>,

0 commit comments

Comments
 (0)