File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ pub(crate) trait DatabaseUtils: Database {
214214impl < T : Database > DatabaseUtils for T { }
215215
216216#[ cfg( test) ]
217+ #[ allow( missing_docs) ]
217218pub mod test {
218219 use bitcoin:: consensus:: encode:: deserialize;
219220 use bitcoin:: consensus:: serialize;
Original file line number Diff line number Diff line change @@ -949,7 +949,7 @@ impl std::fmt::Display for KeyError {
949949impl std:: error:: Error for KeyError { }
950950
951951#[ cfg( test) ]
952- pub mod test {
952+ mod test {
953953 use bitcoin:: bip32;
954954
955955 use super :: * ;
Original file line number Diff line number Diff line change @@ -119,8 +119,11 @@ use std::convert::TryInto;
119119/// overridden
120120#[ cfg( not( test) ) ]
121121pub type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection ;
122+
123+ /// Default deterministic coin selection algorithm for testing used by [`TxBuilder`](super::tx_builder::TxBuilder) if not
124+ /// overridden
122125#[ cfg( test) ]
123- pub type DefaultCoinSelectionAlgorithm = LargestFirstCoinSelection ; // make the tests more predictable
126+ pub type DefaultCoinSelectionAlgorithm = LargestFirstCoinSelection ;
124127
125128// Base weight of a Txin, not counting the weight needed for satisfying it.
126129// prev_txid (32 bytes) + prev_vout (4 bytes) + sequence (4 bytes)
You can’t perform that action at this time.
0 commit comments